chore: standardize on writing to file versus a destination

This commit is contained in:
Jose Diaz-Gonzalez
2019-08-01 19:32:04 -04:00
parent 0567bfd65d
commit d326c17dfb
3 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ get_phase_script() {
local APP_JSON_FILE="$GET_PHASE_SCRIPT_TMP_WORK_DIR/app.json"
trap "rm -rf '$GET_PHASE_SCRIPT_TMP_WORK_DIR' >/dev/null" RETURN INT TERM
copy_from_image "$IMAGE" "app.json" "$GET_PHASE_SCRIPT_TMP_WORK_DIR" 2>/dev/null || true
copy_from_image "$IMAGE" "app.json" "$APP_JSON_FILE" 2>/dev/null || true
if [[ ! -f "$APP_JSON_FILE" ]]; then
return 0