summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-09 23:53:15 +0800
committerruki <[email protected]>2020-02-09 23:53:15 +0800
commit944444b2d1f966ffa4aa8dfa71d7b8f4a20b541c (patch)
treed9613ab2d208afbc1ee725929b36bb23ba0e7cd7 /scripts
parent9c09c324372faf7efdb9caedd8da656bf9dc85c5 (diff)
update links
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get.sh b/scripts/get.sh
index b9d9b07eb..91e0c367c 100755
--- a/scripts/get.sh
+++ b/scripts/get.sh
@@ -88,7 +88,7 @@ if [ 'x__local__' != "x$branch" ]; then
else
gitrepo="https://github.com/xmake-io/xmake.git"
#gitrepo_raw="https://github.com/xmake-io/xmake/raw/master"
- gitrepo_raw="https://cdn.jsdelivr.net/gh/xmake-io/xmake"
+ gitrepo_raw="https://cdn.jsdelivr.net/gh/xmake-io/xmake@master"
fi
fi
@@ -174,7 +174,7 @@ elif [ 'x__run__' = "x$branch" ]; then
pack=gz
fi
mkdir -p $projectdir
- runfile_url="https://cdn.jsdelivr.net/gh/xmake-mirror/xmake-releases/xmake-$version.$pack.run"
+ runfile_url="https://cdn.jsdelivr.net/gh/xmake-mirror/xmake-releases@master/xmake-$version.$pack.run"
echo "downloading $runfile_url .."
remote_get_content "$runfile_url" > $projectdir/xmake.run
if [[ $? != 0 ]]; then