From f2721e8ea4c65792724bc162f8c81cd899392dd0 Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Fri, 19 Feb 2021 16:09:36 +0100 Subject: [PATCH] Do not mandate branch name in build-package script --- build-packages.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build-packages.sh b/build-packages.sh index 0ef23761..03c48e13 100755 --- a/build-packages.sh +++ b/build-packages.sh @@ -202,8 +202,7 @@ while [ ! -z {$1+x} ]; do done if [ -z ${use_branch+set} ]; then - echo "Please specify a branch with -branch=" - exit 1 + use_branch="$(git rev-parse --abbrev-ref HEAD)" fi build_dir=".build-$arch"