Browse Source

new update

#146
rootzoll 6 years ago
parent
commit
6d75b3c093
  1. 4
      home.admin/XXupdateScripts.sh

4
home.admin/XXupdateScripts.sh

@ -3,7 +3,7 @@
cd /home/admin/raspiblitz
# change branch if set as parameter
wantedBranch=$1
wantedBranch="$1"
activeBranch=$(git branch | grep \* | cut -d ' ' -f2)
if [ ${#wantedBranch} -gt 0 ]; then
echo "your wanted branch is: ${wantedBranch}"
@ -15,6 +15,8 @@ if [ ${#wantedBranch} -gt 0 ]; then
git checkout ${wantedBranch}
activeBranch=$(git branch | grep \* | cut -d ' ' -f2)
fi
else
echo "USAGE-INFO:./XXupdateScripts.sh '[BRANCHNAME]'"
fi
echo ""

Loading…
Cancel
Save