waf: fixed the build with a space in the source directory
[sfrench/samba-autobuild/.git] / buildtools / scripts / abi_gen.sh
index 7b4cb1271306f2382d577d5881cbbdd283cb3be1..d563fb85333a74e54043329bde58864dedaf3e52 100755 (executable)
@@ -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