Fix another branch casing.
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -105,7 +105,7 @@ if [[ ! -d "$env_shared_dir" ]]; then
|
|||||||
cp -v "$env_shared_dir"/bin-shared/* ~/bin/
|
cp -v "$env_shared_dir"/bin-shared/* ~/bin/
|
||||||
else
|
else
|
||||||
echo -e "`date` - Already installed, updating."
|
echo -e "`date` - Already installed, updating."
|
||||||
git -C "$env_shared_dir" switch "$branch"
|
git -C "$env_shared_dir" switch "$BRANCH"
|
||||||
git -C "$env_shared_dir" pull --recurse-submodules || \
|
git -C "$env_shared_dir" pull --recurse-submodules || \
|
||||||
( echo "Failed to pull project, exiting." && return 1 )
|
( echo "Failed to pull project, exiting." && return 1 )
|
||||||
cp -v "$env_shared_dir"/rc_shared.sh ~/.rc_shared
|
cp -v "$env_shared_dir"/rc_shared.sh ~/.rc_shared
|
||||||
|
|||||||
Reference in New Issue
Block a user