From 74c42a603c649c6e0d9dc8f2699d02dc0cd3d1d0 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Wed, 10 Nov 2021 16:41:54 -0700 Subject: [PATCH] symlink broken --- sync/minor-release-sync-to-staging.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sync/minor-release-sync-to-staging.sh b/sync/minor-release-sync-to-staging.sh index ebcedf4..3d894bc 100644 --- a/sync/minor-release-sync-to-staging.sh +++ b/sync/minor-release-sync-to-staging.sh @@ -87,5 +87,7 @@ fi # Change Symlink if required echo "Setting symlink to ${REV}" +pushd "${STAGING_ROOT}/${CATEGORY_STUB}" /bin/rm "${STAGING_ROOT}/${CATEGORY_STUB}/latest-8" ln -sr "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}" latest-8 +popd