Can now specify branch.

pull/270/head
Joe Prochazka 2016-11-29 16:43:37 -05:00
rodzic 2cb71c6872
commit 03524e2c38
2 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -6,6 +6,7 @@ The following is a history of the changes made to this project.
* Twitter and email flight notifications ready for testing.
* Can now specify the unit of measurement for dump1090-mutability during setup.
* Users can now specify the repository branch they wish to use in the file install.sh.
* Possible fix for blog post containing characters not UTF-8 compatible. *(lite)*
* Added script to automate the portal backup process.
* Added ability to specify the latitude and longitude of the receiver for dump978.

Wyświetl plik

@ -36,6 +36,7 @@
## VARIABLES
PROJECTBRANCH="2.5.0"
PROJECTROOTDIRECTORY="$PWD"
BASHDIRECTORY="$PROJECTROOTDIRECTORY/bash"
BUILDDIRECTORY="$PROJECTROOTDIRECTORY/build"
@ -106,6 +107,10 @@ function UpdateRepository() {
echo -e "\e[93m----------------------------------------------------------------------------------------------------\e[97m"
echo ""
CheckPackage git
echo -e "\e[94m Switching to branch $PROJECTBRANCH...\e[97m"
echo ""
git checkout $PROJECTBRANCH
echo ""
echo -e "\e[94m Pulling the latest git repository...\e[97m"
echo ""
git pull