Various updates for renaming the master branch to main

This commit is contained in:
Neil Alexander 2022-02-08 16:16:01 +00:00
parent 0e26662a55
commit 8a1dfffe3d
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
6 changed files with 24 additions and 24 deletions

View file

@ -7,7 +7,7 @@ if [ -d ".git" ]
then
export BUILD=`git rev-parse --short HEAD || ""`
export BRANCH=`(git symbolic-ref --short HEAD | tr -d \/ ) || ""`
if [ "$BRANCH" = master ]
if [ "$BRANCH" = main ]
then
export BRANCH=""
fi