summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-10-23 23:45:52 +0800
committerruki <[email protected]>2020-10-23 23:45:52 +0800
commit6cbb9436e46ed104d44bb9d9fd80813028d4a02a (patch)
tree87846cb3e049421240a733d98950cb094c895da4
parentae02bbbad26a500f50e6786c2cc908a781fb4d67 (diff)
fix makefile again
-rw-r--r--makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile b/makefile
index d07c25c0c..b8b7a449f 100644
--- a/makefile
+++ b/makefile
@@ -109,7 +109,8 @@ install:
@cp $(xmake_core) $(xmake_core_install)
@chmod 777 $(xmake_core_install)
@# install the xrepo bin file
- @echo -e "#!/usr/bin/env sh\n$(xmake_core_install) lua private.xrepo \""'$$@"' > $(xrepo_bin_install)
+ @echo '#!/usr/bin/env sh' > $(xrepo_bin_install)
+ @echo '$(xmake_core_install) lua private.xrepo "$$@"' >> $(xrepo_bin_install)
@chmod 777 $(xrepo_bin_install)
@# remove xmake.out
@if [ -f "$(TMP_DIR)/xmake.out" ]; then rm $(TMP_DIR)/xmake.out; fi