From a977a8b5ba9d51cf1720fbdfe64609414ac82973 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Wed, 10 Nov 2021 16:51:59 -0700 Subject: [PATCH] Rocky is used twice and shellcheck --- 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 ae7e8a3..ea7f844 100644 --- a/sync/minor-release-sync-to-staging.sh +++ b/sync/minor-release-sync-to-staging.sh @@ -87,7 +87,7 @@ fi # Change Symlink if required echo "Setting symlink to ${REV}" -pushd "${STAGING_ROOT}/${CATEGORY_STUB}" +pushd "${STAGING_ROOT}/${CATEGORY_STUB}" || exit /bin/rm "${STAGING_ROOT}/${CATEGORY_STUB}/latest-8" ln -sr "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}" latest-8 popd || exit