diff options
author | Tim Potter <tpot@samba.org> | 2002-07-29 03:26:31 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-07-29 03:26:31 +0000 |
commit | c74a8d72f9875ea34886cca6baa8a1cb3c7ad301 (patch) | |
tree | de1b42b0824ebc0fcdde420989d08baf7b4b7799 /source3/script | |
parent | db789e9467e887dca2f4f205467b408287a0cc61 (diff) | |
download | samba-c74a8d72f9875ea34886cca6baa8a1cb3c7ad301.tar.gz samba-c74a8d72f9875ea34886cca6baa8a1cb3c7ad301.tar.bz2 samba-c74a8d72f9875ea34886cca6baa8a1cb3c7ad301.zip |
Merge from APPLIANCE_HEAD:
>When creating an automatically generated prototype make sure the
>destination directory exists.
(This used to be commit 9ffca4824c9fa76ab288f59b4b57a3cdc99a93b8)
Diffstat (limited to 'source3/script')
-rwxr-xr-x | source3/script/mkproto.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/script/mkproto.sh b/source3/script/mkproto.sh index 4dbe4c204e..2bf96c9b41 100755 --- a/source3/script/mkproto.sh +++ b/source3/script/mkproto.sh @@ -29,6 +29,8 @@ proto_src="`echo $@ | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort | uniq | egrep - echo creating $header +mkdir -p `dirname $header` + ${awk} $headeropt \ -f script/mkproto.awk $proto_src > $headertmp |