mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-08-08 17:23:35 +02:00
add cd
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user