Browse Source

add cd

#146
rootzoll 6 years ago
parent
commit
b047af19da
  1. 3
      home.admin/XXupdateScripts.sh

3
home.admin/XXupdateScripts.sh

@ -1,5 +1,7 @@
#!/bin/bash
cd /home/admin/raspiblitz
# change branch if set as parameter
wantedBranch=$1
activeBranch=$(git branch | grep \* | cut -d ' ' -f2)
@ -20,7 +22,6 @@ echo "*** UPDATING SHELL SCRIPTS FROM GITHUB ***"
echo "justincase, not the final upadte mechanism"
echo "BRANCH --> ${activeBranch}"
echo "******************************************"
cd /home/admin/raspiblitz
git pull
cd ..
rm *.sh

Loading…
Cancel
Save