diff options
| author | Opportunity <[email protected]> | 2020-01-21 13:10:20 +0800 |
|---|---|---|
| committer | Opportunity <[email protected]> | 2020-01-21 13:10:20 +0800 |
| commit | 3d8f3777203b84435f85c073a46fcaa8ed02d053 (patch) | |
| tree | 21e5ce4966100b7bc213ef33e9f25a517a25bff9 | |
| parent | a4a46e0d3045cd74d75b1f7a254c48826476b295 (diff) | |
Update
| -rwxr-xr-x | scripts/get.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/get.sh b/scripts/get.sh index 995d0fed1..fa8cc3005 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -122,7 +122,7 @@ if [ 'x__local__' == "x$branch" ]; then cp -r . $projectdir cd $projectdir || my_exit 'Chdir Error' elif [ 'x__run__' == "x$branch" ]; then - version=$(git ls-remote --tags https://github.com/$mirror/xmake | tail -c 7) + version=$(git ls-remote --tags "https://github.com/$mirror/xmake" | tail -c 7) if xz --version >/dev/null 2>&1 then pack=xz @@ -130,7 +130,7 @@ elif [ 'x__run__' == "x$branch" ]; then pack=gz fi mkdir -p $projectdir - remote_get_content https://github.com/$mirror/xmake/releases/download/$version/xmake-$version.$pack.run > $projectdir/xmake.run + remote_get_content "https://github.com/$mirror/xmake/releases/download/$version/xmake-$version.$pack.run" > $projectdir/xmake.run sh $projectdir/xmake.run --noexec --target $projectdir else if [ x != "x$2" ]; then |
