diff options
| author | OpportunityLiu <[email protected]> | 2019-07-19 10:22:06 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-07-19 10:22:06 +0800 |
| commit | 31e7bdaeefe8e22114515804ea86f7b5ced9a88c (patch) | |
| tree | 50d2e9f327f1567bbecd72d9fd130490468007f1 /scripts | |
| parent | 31b4021c72317c6f4ec6a201f4579b3a39c5fca5 (diff) | |
fix
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/makeself/build-runfile.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/makeself/build-runfile.sh b/scripts/makeself/build-runfile.sh index c06b7d433..0c8af3587 100755 --- a/scripts/makeself/build-runfile.sh +++ b/scripts/makeself/build-runfile.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#! /usr/bin/env bash # path constants cd "$(dirname "$0")/../.." @@ -20,13 +20,13 @@ git clean -dfX mkdir -p $temproot/xmake/scripts cd $temproot/xmake-repo cp -r ./core $temproot/xmake -rm -rf ./core/src/tbox/tbox/src/demo -rm -rf ./core/src/pdcurses cp -r ./xmake $temproot/xmake cp ./scripts/get.sh $temproot/xmake/scripts cp ./*.md $temproot/xmake cp makefile $temproot/xmake cd $temproot/xmake +rm -rf ./core/src/tbox/tbox/src/demo +rm -rf ./core/src/pdcurses # prepare info texts cd $temproot @@ -43,6 +43,7 @@ sh ./makeself-2.4.0.run --sha256 \ --lsm ./lsm \ --help-header ./header \ - ./xmake $buildroot/xmake.run \ - xmake-v$version \ + ./xmake \ + $buildroot/xmake.run \ + xmake-v$version-runfile \ ./scripts/get.sh __local__ |
