We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6554e63 commit 7a3b89fCopy full SHA for 7a3b89f
infra/base-images/base-builder/compile
@@ -294,8 +294,10 @@ if [[ ! -z "${CAPTURE_REPLAY_SCRIPT-}" ]]; then
294
# Capture a replaying build script which can be used for replaying the build
295
# after a vanilla build. This script is meant to be used in a cached
296
# container.
297
- python3 -m pip install bashlex
298
- python3 /usr/local/bin/bash_parser.py $SRC/build.sh
+ if [[ ! -f $SRC/replay_build.sh ]]; then
+ python3 -m pip install bashlex
299
+ python3 /usr/local/bin/bash_parser.py $SRC/build.sh
300
+ fi
301
fi
302
303
# Prepare the build command to run the project's build script.
0 commit comments