diff options
| author | ruki <[email protected]> | 2020-02-16 12:04:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-16 12:04:15 +0800 |
| commit | 0b07ecdf2dc3ccf2b2d73bc2017656b396f35571 (patch) | |
| tree | c3efb8c47c702fe9005b368db884f61c583399b5 /scripts/get.sh | |
| parent | 941da42aca3e9af717c4bd789e1c5dd0409170dd (diff) | |
improve to update urls
Diffstat (limited to 'scripts/get.sh')
| -rwxr-xr-x | scripts/get.sh | 2 |
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 |
