From 72f578c77718add327e6532a432248a277ce50a1 Mon Sep 17 00:00:00 2001 From: Ananya Mohanty Date: Fri, 12 Jan 2024 11:33:26 +0530 Subject: [PATCH] fix TEMP_PROJECT_DIR var in cli-migrations/v3 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10612 GitOrigin-RevId: dd35138226ef3c0b0b014170588d1a1f023bb4db --- packaging/cli-migrations/v3/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/cli-migrations/v3/docker-entrypoint.sh b/packaging/cli-migrations/v3/docker-entrypoint.sh index 6c8ad6fd9dc..ec6d1c78699 100755 --- a/packaging/cli-migrations/v3/docker-entrypoint.sh +++ b/packaging/cli-migrations/v3/docker-entrypoint.sh @@ -69,7 +69,7 @@ fi # apply metadata if the directory exist if [ -d "$HASURA_GRAPHQL_METADATA_DIR" ]; then - rm -rf "TEMP_PROJECT_DIR" + rm -rf "$TEMP_PROJECT_DIR" log "migrations-apply" "applying metadata from $HASURA_GRAPHQL_METADATA_DIR" mkdir -p "$TEMP_PROJECT_DIR" cp -a "$HASURA_GRAPHQL_METADATA_DIR/." "$TEMP_PROJECT_DIR/metadata/"