diff options
| -rwxr-xr-x | scripts/get.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/get.sh b/scripts/get.sh index f41c2b118..273ae1f17 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -58,7 +58,11 @@ install_tools() } test_tools || { install_tools && test_tools; } || my_exit 'Dependencies Installation Fail' 1 branch= -if [ x != "x$1" ];then branch="-b $1";fi +if [ x != "x$1" ] +then + branch="-b $1" + echo "Branch: $1" +fi git clone --depth=1 $branch https://github.com/tboox/xmake.git /tmp/$$xmake_getter || my_exit 'Clone Fail' make -C /tmp/$$xmake_getter --no-print-directory build || my_exit 'Build Fail' IFS=':' |
