From 6cbb9436e46ed104d44bb9d9fd80813028d4a02a Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 23 Oct 2020 23:45:52 +0800 Subject: fix makefile again --- makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.3.1