mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
add cd
This commit is contained in:
parent
4b13ff93ee
commit
b047af19da
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /home/admin/raspiblitz
|
||||||
|
|
||||||
# change branch if set as parameter
|
# change branch if set as parameter
|
||||||
wantedBranch=$1
|
wantedBranch=$1
|
||||||
activeBranch=$(git branch | grep \* | cut -d ' ' -f2)
|
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 "justincase, not the final upadte mechanism"
|
||||||
echo "BRANCH --> ${activeBranch}"
|
echo "BRANCH --> ${activeBranch}"
|
||||||
echo "******************************************"
|
echo "******************************************"
|
||||||
cd /home/admin/raspiblitz
|
|
||||||
git pull
|
git pull
|
||||||
cd ..
|
cd ..
|
||||||
rm *.sh
|
rm *.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue