diff options
| author | ruki <[email protected]> | 2023-01-30 22:37:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-30 22:37:46 +0800 |
| commit | c14b213c4c4f6eba15a65cb8ea4d313600dd890f (patch) | |
| tree | 4382c50d5be9b77ddc56faf9182253d203742f42 /scripts | |
| parent | 4ea0fc8c73da4d1ca702a87854307f9cf312ba59 (diff) | |
improve makeself and zip
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/archive-all | 2 | ||||
| -rwxr-xr-x | scripts/makeself/build-runfile.sh | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/scripts/archive-all b/scripts/archive-all index ee19b1bd9..7ed9fa3ac 100755 --- a/scripts/archive-all +++ b/scripts/archive-all @@ -47,7 +47,7 @@ fi if [ -f "$outputfile.tar.gz" ]; then rm "$outputfile.tar.gz" fi -zip -qr "$outputfile.zip" . +zip -qr -9 "$outputfile.zip" . 7z a "$outputfile.7z" . #tar -czf "$outputfile.tar.gz" * tar -cvf - * | gzip -9 - > "$outputfile.tar.gz" diff --git a/scripts/makeself/build-runfile.sh b/scripts/makeself/build-runfile.sh index fbba59f4d..acc06ae1f 100755 --- a/scripts/makeself/build-runfile.sh +++ b/scripts/makeself/build-runfile.sh @@ -44,9 +44,10 @@ perl -pi -e "s/#xmake-version#/$version/g" ./lsm # make run file cd $tmpdir -curl -fsSL https://github.com/megastep/makeself/releases/download/release-2.4.0/makeself-2.4.0.run -o ./makeself-2.4.0.run -sh ./makeself-2.4.0.run -./makeself-2.4.0/makeself.sh \ +makeself_version="2.4.5" +curl -fsSL https://github.com/megastep/makeself/releases/download/release-$makeself_version/makeself-$makeself_version.run -o ./makeself-$makeself_version.run +sh ./makeself-$makeself_version.run +./makeself-$makeself_version/makeself.sh \ --gzip \ --sha256 \ --lsm ./lsm \ @@ -55,7 +56,7 @@ sh ./makeself-2.4.0.run $artifactsdir/xmake.gz.run \ xmake-v$version-runfile \ ./scripts/get.sh __local__ -./makeself-2.4.0/makeself.sh \ +./makeself-$makeself_version/makeself.sh \ --xz \ --sha256 \ --lsm ./lsm \ |
