Do not mandate branch name in build-package script

This commit is contained in:
Francesco Abbate 2021-02-19 16:09:36 +01:00
parent 0233941fe9
commit f2721e8ea4
1 changed files with 1 additions and 2 deletions

View File

@ -202,8 +202,7 @@ while [ ! -z {$1+x} ]; do
done
if [ -z ${use_branch+set} ]; then
echo "Please specify a branch with -branch=<name>"
exit 1
use_branch="$(git rev-parse --abbrev-ref HEAD)"
fi
build_dir=".build-$arch"