Skip to content

Commit d55f0df

Browse files
authoredSep 19, 2024
Merge pull request #16087 from MinaProtocol/dkijania/remove_HEAD_once_for_all
pass BRANCH_NAME to export-git-env-vars script properly
2 parents 5b8924f + 3a04375 commit d55f0df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/debian/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
99
# In case of running this script on detached head, script has difficulties in finding out
1010
# what is the current branch.
1111
if [[ -n "$BRANCH_NAME" ]]; then
12-
source ${SCRIPTPATH}/../export-git-env-vars.sh -b $BRANCH_NAME
12+
BRANCH_NAME="$BRANCH_NAME" source ${SCRIPTPATH}/../export-git-env-vars.sh
1313
else
1414
source ${SCRIPTPATH}/../export-git-env-vars.sh
1515
fi

0 commit comments

Comments
 (0)
Please sign in to comment.