Rocky is used twice and shellcheck

This commit is contained in:
Louis Abel 2021-11-10 16:51:59 -07:00
parent 2d0b95d158
commit a977a8b5ba
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -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