pull/417/merge
Romain Bazile 2020-07-17 14:38:43 +00:00 committed by GitHub
commit 6a5d9702ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -41,7 +41,7 @@ if test -z "${CONFIG_FILE}"; then
exit 1
else
# shellcheck disable=SC1090
source ${CONFIG_FILE}
source "${CONFIG_FILE}"
fi
CONTAINER_NAME=${CONTAINER_NAME:-pigen_work}

View File

@ -229,7 +229,10 @@ fi
mkdir -p "${WORK_DIR}"
log "Begin ${BASE_DIR}"
STAGE_LIST=${STAGE_LIST:-${BASE_DIR}/stage*}
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
STAGE_LIST=${STAGE_LIST:-"${BASE_DIR}"/stage*}
for STAGE_DIR in $STAGE_LIST; do
STAGE_DIR=$(realpath "${STAGE_DIR}")
@ -261,3 +264,5 @@ if [ -x ${BASE_DIR}/postrun.sh ]; then
fi
log "End ${BASE_DIR}"
IFS=$SAVEIFS