From ba654d0ea517b335d4cebebbaefc8dc1c7b33942 Mon Sep 17 00:00:00 2001 From: Patrick Gehrsitz Date: Wed, 28 Feb 2024 16:09:17 +0100 Subject: [PATCH] fix: fix shellcheck Signed-off-by: Patrick Gehrsitz --- libs/versioncontrol.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/versioncontrol.sh b/libs/versioncontrol.sh index e477c6fd..e57dbfc4 100644 --- a/libs/versioncontrol.sh +++ b/libs/versioncontrol.sh @@ -28,6 +28,7 @@ versioncontrol() { local cur_ver avail_ver pushd "${BASE_CN_PATH}"/bin/ustreamer &> /dev/null || exit 1 avail_ver="$(git describe --tags --always)" + # shellcheck disable=SC2153 cur_ver="v$(${UST_BIN} -v)" if [[ "${cur_ver}" == "${avail_ver}" ]]; then vc_log_msg "ustreamer is up to date. (${cur_ver})"