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 6
6
7
7
export LC_ALL=C.UTF-8
8
8
9
- set -ex
9
+ set -o errexit -o pipefail -o xtrace
10
10
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
12
12
13
- if [ " $( git config --global ${CFG_DONE} ) " == " true " ]; then
13
+ if [ " $( cat " ${CFG_DONE} " || true ) " == " done " ]; then
14
14
echo " Skip base install"
15
15
exit 0
16
16
fi
@@ -105,4 +105,4 @@ if [ -n "$XCODE_VERSION" ] && [ ! -d "${DEPENDS_DIR}/SDKs/${OSX_SDK_BASENAME}" ]
105
105
tar -C " ${DEPENDS_DIR} /SDKs" -xf " $OSX_SDK_PATH "
106
106
fi
107
107
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