summaryrefslogtreecommitdiff
path: root/scripts/get.sh
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-16 12:04:11 +0800
committerruki <[email protected]>2020-02-16 12:04:15 +0800
commit0b07ecdf2dc3ccf2b2d73bc2017656b396f35571 (patch)
treec3efb8c47c702fe9005b368db884f61c583399b5 /scripts/get.sh
parent941da42aca3e9af717c4bd789e1c5dd0409170dd (diff)
improve to update urls
Diffstat (limited to 'scripts/get.sh')
-rwxr-xr-xscripts/get.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index 48161c2d1..424fe0cfd 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -162,7 +162,7 @@ elif [ 'x__run__' = "x$branch" ]; then
pack=gz
fi
mkdir -p $projectdir
- runfile_url="https://cdn.jsdelivr.net/gh/xmake-mirror/xmake-releases@master/xmake-$version.$pack.run"
+ runfile_url="https://cdn.jsdelivr.net/gh/xmake-mirror/xmake-releases@$version/xmake-$version.$pack.run"
echo "downloading $runfile_url .."
remote_get_content "$runfile_url" > $projectdir/xmake.run
if [[ $? != 0 ]]; then