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