diff options
| author | ruki <[email protected]> | 2020-10-23 23:45:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-10-23 23:45:52 +0800 |
| commit | 6cbb9436e46ed104d44bb9d9fd80813028d4a02a (patch) | |
| tree | 87846cb3e049421240a733d98950cb094c895da4 | |
| parent | ae02bbbad26a500f50e6786c2cc908a781fb4d67 (diff) | |
fix makefile again
| -rw-r--r-- | makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
