Skip to content

Commit 5ea01f4

Browse files
authored
Updates
1 parent 592685d commit 5ea01f4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/update/enginescript-update.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ fi
3535

3636
# Copy EngineScript
3737
cd /usr/local/bin/enginescript
38+
echo "Fetching ${ENGINESCRIPT_BRANCH} branch..."
3839
git fetch origin "${ENGINESCRIPT_BRANCH}"
3940
git reset --hard "origin/${ENGINESCRIPT_BRANCH}"
4041

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ if [[ -d "/usr/local/bin/enginescript" ]]; then
8484
rm -rf /usr/local/bin/enginescript
8585
fi
8686

87-
# EngineScript Git Clone
88-
git clone --depth 1 https://github.com/EngineScript/EngineScript.git -b master /usr/local/bin/enginescript
87+
# EngineScript Git Clone (full clone to allow branch switching)
88+
git clone https://github.com/EngineScript/EngineScript.git -b master /usr/local/bin/enginescript
8989

9090
# Convert line endings
9191
dos2unix /usr/local/bin/enginescript/*

0 commit comments

Comments
 (0)