From 0b07ecdf2dc3ccf2b2d73bc2017656b396f35571 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 16 Feb 2020 12:04:11 +0800 Subject: improve to update urls --- scripts/get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/get.sh') 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 -- cgit v1.3.1