We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 592685d commit 5ea01f4Copy full SHA for 5ea01f4
2 files changed
scripts/update/enginescript-update.sh
@@ -35,6 +35,7 @@ fi
35
36
# Copy EngineScript
37
cd /usr/local/bin/enginescript
38
+echo "Fetching ${ENGINESCRIPT_BRANCH} branch..."
39
git fetch origin "${ENGINESCRIPT_BRANCH}"
40
git reset --hard "origin/${ENGINESCRIPT_BRANCH}"
41
setup.sh
@@ -84,8 +84,8 @@ if [[ -d "/usr/local/bin/enginescript" ]]; then
84
rm -rf /usr/local/bin/enginescript
85
fi
86
87
-# EngineScript Git Clone
88
-git clone --depth 1 https://github.com/EngineScript/EngineScript.git -b master /usr/local/bin/enginescript
+# EngineScript Git Clone (full clone to allow branch switching)
+git clone https://github.com/EngineScript/EngineScript.git -b master /usr/local/bin/enginescript
89
90
# Convert line endings
91
dos2unix /usr/local/bin/enginescript/*
0 commit comments