Set the branch and repo only if not already set.

This commit is contained in:
cimryan
2018-10-23 06:38:32 -07:00
parent 5dffdc053b
commit a8e3671a94

View File

@@ -1,9 +1,17 @@
#!/bin/bash -eu
REPO=cimryan
BRANCH=master
user_enabled_pushover=false
if [[ -z $REPO ]]
then
REPO=cimryan
fi
f [[ -z $BRANCH ]]
then
BRANCH=master
fi
if ! [ $(id -u) = 0 ]
then
echo "STOP: Run sudo -i."