summaryrefslogtreecommitdiff
path: root/bin/updatebuildmain
diff options
context:
space:
mode:
Diffstat (limited to 'bin/updatebuildmain')
-rwxr-xr-xbin/updatebuildmain2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/updatebuildmain b/bin/updatebuildmain
index f4abe4e..54c3544 100755
--- a/bin/updatebuildmain
+++ b/bin/updatebuildmain
@@ -20,7 +20,7 @@
set -e
GITPROJECT=$(basename $(pwd))
-REF=$1
+REF=${1-HEAD}
# we need to be within a working copy (base folder) and we need a <REF>!!!
test -z $1 || test -d ./.git || {