Merge pull request #8578 from dokku/8566-core-post-extract-in-four-builder-plugins-fails-under-bash-5-3

Reference SOURCECODE_WORK_DIR in builder core-post-extract
This commit is contained in:
Jose Diaz-Gonzalez
2026-05-08 17:06:10 -04:00
committed by GitHub
12 changed files with 135 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ trigger-builder-lambda-core-post-extract() {
declare APP="$1" SOURCECODE_WORK_DIR="$2"
local NEW_LAMBDA_YML="$(fn-builder-lambda-computed-lambdayml-path "$APP")"
pushd "$TMP_WORK_DIR" >/dev/null
pushd "$SOURCECODE_WORK_DIR" >/dev/null
if [[ -z "$NEW_LAMBDA_YML" ]]; then
return