From 3d8f3777203b84435f85c073a46fcaa8ed02d053 Mon Sep 17 00:00:00 2001 From: Opportunity Date: Tue, 21 Jan 2020 13:10:20 +0800 Subject: Update --- scripts/get.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.3.1