Make it so that positional parameters can have spaces in them.
authorReid Spencer <rspencer@reidspencer.com>
Fri, 8 Oct 2004 17:59:29 +0000 (17:59 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 8 Oct 2004 17:59:29 +0000 (17:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16843 91177308-0d34-0410-b5e6-96231b3b80d8

utils/llvmdo

index 3c9532bc0230871430345226f58c6de6101238e4..c7dbcc5c0eb13ab204a8729a314ab52f20559a77 100755 (executable)
@@ -103,7 +103,7 @@ if test -d "$TOPDIR" ; then
       \! -name 'FileParser.h' \
       \! -name 'StackerParser.h' \
       \! -name 'StackerParser.cpp' \
-     -exec $PROGRAM $ARGS {} \; \
+     -exec $PROGRAM "$@" {} \; \
     \)
 else
   echo "Can't find LLVM top directory in $TOPDIR"