Last active
September 26, 2016 09:46
-
-
Save half2me/262e3c76447c407a3cee83b125132ec4 to your computer and use it in GitHub Desktop.
gitupdate.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
startDir=$(pwd) | |
echo "Updating ANT+ driver..." | |
cd /home/pi/libant/ | |
git reset --hard HEAD | |
git pull | |
sudo python3 setup.py install | |
echo "Done!" | |
echo "Updating Firmware..." | |
cd /home/pi/antbot/ | |
git reset --hard HEAD | |
git pull | |
echo "Done!" | |
cd $startDir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment