diff options
| author | ruki <[email protected]> | 2020-10-23 23:23:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-10-23 23:23:23 +0800 |
| commit | 98908994e0648374218aa07e3204cae0ce44df64 (patch) | |
| tree | 0c52ec0c86bd7c1cd4ca090f505c644aba0ad94a | |
| parent | 59abb0aad7f4a123bc6cc9ae7e1ac4d4b7f73e92 (diff) | |
improve xrepo scripts
| -rw-r--r-- | makefile | 5 | ||||
| -rwxr-xr-x | scripts/srcenv.profile | 2 | ||||
| -rwxr-xr-x | scripts/xrepo.sh (renamed from scripts/xrepo) | 0 |
3 files changed, 4 insertions, 3 deletions
@@ -87,10 +87,11 @@ xmake_core_install :=$(destdir)/bin/xmake endif ifdef iswin xrepo_name :=xrepo.bat +xrepo_bin_install :=$(destdir)/bin/xrepo.bat else -xrepo_name :=xrepo +xrepo_name :=xrepo.sh +xrepo_bin_install :=$(destdir)/bin/xrepo endif -xrepo_bin_install :=$(destdir)/bin/$(xrepo_name) build: @echo compiling xmake-core ... diff --git a/scripts/srcenv.profile b/scripts/srcenv.profile index 1bbc4d762..ead66b4f8 100755 --- a/scripts/srcenv.profile +++ b/scripts/srcenv.profile @@ -5,7 +5,7 @@ if [ -f `pwd`/core/build/xmake ]; then else alias xmake=`pwd`/core/src/demo/demo.b fi -alias xrepo=`pwd`/scripts/xrepo +alias xrepo=`pwd`/scripts/xrepo.sh xmake --version xmake l xmake.programdir xmake l xmake.programfile diff --git a/scripts/xrepo b/scripts/xrepo.sh index 2997cf59e..2997cf59e 100755 --- a/scripts/xrepo +++ b/scripts/xrepo.sh |
