File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 66
77export LC_ALL=C.UTF-8
88
9- set -ex
9+ set -o errexit -o pipefail -o xtrace
1010
11- CFG_DONE=" ci.base-install-done" # Use a global git setting to remember whether this script ran to avoid running it twice
11+ CFG_DONE=" ${BASE_ROOT_DIR} / ci.base-install-done" # Use a global setting to remember whether this script ran to avoid running it twice
1212
13- if [ " $( git config --global ${CFG_DONE} ) " == " true " ]; then
13+ if [ " $( cat " ${CFG_DONE} " || true ) " == " done " ]; then
1414 echo " Skip base install"
1515 exit 0
1616fi
@@ -105,4 +105,4 @@ if [ -n "$XCODE_VERSION" ] && [ ! -d "${DEPENDS_DIR}/SDKs/${OSX_SDK_BASENAME}" ]
105105 tar -C " ${DEPENDS_DIR} /SDKs" -xf " $OSX_SDK_PATH "
106106fi
107107
108- git config --global ${CFG_DONE} " true "
108+ echo -n " done " > " ${CFG_DONE} "
You can’t perform that action at this time.
0 commit comments