summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2023-12-28 14:19:27 +0800
committerGitHub <[email protected]>2023-12-28 14:19:27 +0800
commitc68263277c8c25f5fe3a9bed275e09a96372d0a7 (patch)
treed41189de9f9ac0a536136244742b8b20de514f6b /scripts
parent5274ebb6ac3b130f820c9b6caf512181fbde37bf (diff)
Update get.sh
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index e7dae19f7..d1744f971 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -189,12 +189,7 @@ if test_eq "$branch" "__local__"; then
cp -r . $projectdir
elif test_eq "$branch" "__run__"; then
version=$(git ls-remote --tags "$gitrepo" | tail -c 7)
- if xz --version >/dev/null 2>&1
- then
- pack=xz
- else
- pack=gz
- fi
+ pack=gz
mkdir -p $projectdir
runfile_url="https://fastly.jsdelivr.net/gh/xmake-mirror/xmake-releases@$version/xmake-$version.$pack.run"
echo "downloading $runfile_url .."