summaryrefslogtreecommitdiff
path: root/utils/llvmdo
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-10-08 17:59:29 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-10-08 17:59:29 +0000
commit761e41b2374c31b9c1c398db7f5dd2434208ba30 (patch)
treefeb402cfc82394482389d4921df64ac67840120d /utils/llvmdo
parent670c889ac90e79fc6b1f9f18e78e536562d86f87 (diff)
downloadllvm-761e41b2374c31b9c1c398db7f5dd2434208ba30.tar.gz
llvm-761e41b2374c31b9c1c398db7f5dd2434208ba30.tar.bz2
llvm-761e41b2374c31b9c1c398db7f5dd2434208ba30.tar.xz
Make it so that positional parameters can have spaces in them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/llvmdo')
-rwxr-xr-xutils/llvmdo2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/llvmdo b/utils/llvmdo
index 3c9532bc02..c7dbcc5c0e 100755
--- a/utils/llvmdo
+++ b/utils/llvmdo
@@ -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"