Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JaapvanEkris authored Jan 31, 2024
1 parent b7343c3 commit 81f35d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ cd $INSTALL_DIR
# get project code from repository
sudo git init -q
# older versions of git would use 'master' instead of 'main' for the default branch
sudo git checkout -q -b v1beta_updates_module_update
sudo git checkout -q -b v1beta_updates
sudo git config remote.origin.url $GIT_REMOTE
sudo git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
# prevent altering line endings
sudo git config core.autocrlf false
sudo git fetch --force origin
sudo git fetch --force --tags origin
sudo git reset --hard origin/v1beta_updates_module_update
sudo git reset --hard origin/v1beta_updates

# add bin directory to the system path
echo "export PATH=\"\$PATH:$INSTALL_DIR/bin\"" >> ~/.bashrc
Expand Down

0 comments on commit 81f35d6

Please sign in to comment.