fix shellcheck failures
New shellcheck in CI has additional checks. Fix the following error:
SC2086 (info): Double quote to prevent globbing and word splitting.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I7150a2c379718afa0d32564ab279d14985674c26
diff --git a/vpnor/obmc-vpnor-util b/vpnor/obmc-vpnor-util
index 7c4500e..fe3414a 100644
--- a/vpnor/obmc-vpnor-util
+++ b/vpnor/obmc-vpnor-util
@@ -127,17 +127,17 @@
if [[ $(readlink -f "${PNOR_RO_ACTIVE_PATH}") != "${roTarget}" ]]; then
rm -f ${PNOR_RO_ACTIVE_PATH}
rm -rf ${PNOR_PATCH_LOCATION}*
- ln -sfv ${roTarget} ${PNOR_RO_ACTIVE_PATH}
+ ln -sfv "${roTarget}" ${PNOR_RO_ACTIVE_PATH}
fi
if [[ $(readlink -f "${PNOR_RW_ACTIVE_PATH}") != "${rwTarget}" ]]; then
rm -f ${PNOR_RW_ACTIVE_PATH}
- ln -sfv ${rwTarget} ${PNOR_RW_ACTIVE_PATH}
+ ln -sfv "${rwTarget}" ${PNOR_RW_ACTIVE_PATH}
fi
if [[ $(readlink -f "${PNOR_PRSV_ACTIVE_PATH}") != "${prsvTarget}" ]]; then
rm -f ${PNOR_PRSV_ACTIVE_PATH}
- ln -sfv ${prsvTarget} ${PNOR_PRSV_ACTIVE_PATH}
+ ln -sfv "${prsvTarget}" ${PNOR_PRSV_ACTIVE_PATH}
fi
}