summaryrefslogtreecommitdiff
path: root/buildtools/scripts
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/scripts
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/scripts')
-rwxr-xr-xbuildtools/scripts/abi_gen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/scripts/abi_gen.sh b/buildtools/scripts/abi_gen.sh
index 7b4cb12713..d563fb8533 100755
--- a/buildtools/scripts/abi_gen.sh
+++ b/buildtools/scripts/abi_gen.sh
@@ -10,11 +10,11 @@ cat <<EOF
set height 0
set width 0
EOF
-nm $SHAREDLIB | cut -d' ' -f2- | egrep '^[BDGTRVWS]' | grep -v @ | cut -c3- | sort | while read s; do
+nm "$SHAREDLIB" | cut -d' ' -f2- | egrep '^[BDGTRVWS]' | grep -v @ | cut -c3- | sort | while read s; do
echo "echo $s: "
echo p $s
done
) > $GDBSCRIPT
-gdb -batch -x $GDBSCRIPT $SHAREDLIB < /dev/null
+gdb -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev/null
rm -f $GDBSCRIPT