mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-02 08:58:15 +02:00
add cd
This commit is contained in:
parent
4b13ff93ee
commit
b047af19da
@ -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…
x
Reference in New Issue
Block a user