From 41111d385b3e53f618f59c907ce6b571eb489f1c Mon Sep 17 00:00:00 2001 From: nazunalika Date: Wed, 10 Nov 2021 17:01:31 -0700 Subject: [PATCH] fix pushd --- sync/minor-release-sync-to-staging.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync/minor-release-sync-to-staging.sh b/sync/minor-release-sync-to-staging.sh index a8bfb5f..61818be 100644 --- a/sync/minor-release-sync-to-staging.sh +++ b/sync/minor-release-sync-to-staging.sh @@ -22,7 +22,7 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do {} "${TARGET}" # Return back to where we started - popd "$(dirname "$0")" || { echo "${COMPOSE}: Failed to change back"; break; } + popd || { echo "${COMPOSE}: Failed to change back"; break; } done