fix: correct variable declaration

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-08-30 13:41:14 -04:00
1 parent dee879538c
commit 82a6dbf887
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ source "$PLUGIN_AVAILABLE_PATH/ps/functions"
get_phase_script() { get_phase_script() {
declare desc="extracts app.json from app image and returns the appropriate json key/value" declare desc="extracts app.json from app image and returns the appropriate json key/value"
declare IMAGE_TAG="$1" PHASE_SCRIPT_KEY="$2" declare IMAGE="$1" PHASE_SCRIPT_KEY="$2"
local APP_JSON_FILE=$(mktemp "/tmp/dokku-${DOKKU_PID}-${FUNCNAME[0]}.XXXXXX") local APP_JSON_FILE=$(mktemp "/tmp/dokku-${DOKKU_PID}-${FUNCNAME[0]}.XXXXXX")
trap "rm -rf '$APP_JSON_FILE' >/dev/null" RETURN INT TERM trap "rm -rf '$APP_JSON_FILE' >/dev/null" RETURN INT TERM