summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-18 13:41:23 +0800
committerruki <[email protected]>2015-06-18 13:41:23 +0800
commita2037440e4b4211fc67e602d62ab2d598bfe9fca (patch)
tree2154cd518a51023f90652108a0275b016aca1a03 /install
parentb29768c25b1eb62b397de5d287e39ed6991c2fd7 (diff)
add cfuncs for target and fix parse argv bug
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index 7a2344fec..e3094fa41 100755
--- a/install
+++ b/install
@@ -76,7 +76,7 @@ if [ $? -ne 0 ]; then exit; fi
xmake_loader=/tmp/xmake_loader
echo "#!/bin/bash" > $xmake_loader
echo "export XMAKE_PROGRAM_DIR=$xmake_dir_install" >> $xmake_loader
-echo "$xmake_core_install $verbose \$*" >> $xmake_loader
+echo "$xmake_core_install $verbose \"\$@\"" >> $xmake_loader
if [ $? -ne 0 ]; then exit; fi
# install the xmake loader