summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_autoproto.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-21 23:04:43 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-21 23:10:14 +1100
commitfcdbd0613631b02b991214b2dccbb97eb571ac28 (patch)
treeea175268351a0d1fc9f50b70605f374ee2e21058 /buildtools/wafsamba/samba_autoproto.py
parent808edd02936879862df685775a12b1efba5947ea (diff)
downloadsamba-fcdbd0613631b02b991214b2dccbb97eb571ac28.tar.gz
samba-fcdbd0613631b02b991214b2dccbb97eb571ac28.tar.bz2
samba-fcdbd0613631b02b991214b2dccbb97eb571ac28.zip
waf: fixed the build with a space in the source directory
Diffstat (limited to 'buildtools/wafsamba/samba_autoproto.py')
-rw-r--r--buildtools/wafsamba/samba_autoproto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoproto.py b/buildtools/wafsamba/samba_autoproto.py
index bb6400cf05..2d8ea546ab 100644
--- a/buildtools/wafsamba/samba_autoproto.py
+++ b/buildtools/wafsamba/samba_autoproto.py
@@ -16,7 +16,7 @@ def SAMBA_AUTOPROTO(bld, header, source):
on_results=True,
ext_out='.c',
before ='cc',
- rule = '${PERL} ${SCRIPT}/mkproto.pl --srcdir=.. --builddir=. --public=/dev/null --private=${TGT} ${SRC}'
+ rule = '${PERL} "${SCRIPT}/mkproto.pl" --srcdir=.. --builddir=. --public=/dev/null --private="${TGT}" ${SRC}'
)
t.env.SCRIPT = os.path.join(bld.srcnode.abspath(), 'source4/script')
Build.BuildContext.SAMBA_AUTOPROTO = SAMBA_AUTOPROTO