Commit 18aca1f6 authored by Mario Trangoni's avatar Mario Trangoni

shellcheck: Fix SC2059 issue

See, $ find . -name "*.sh" | xargs shellcheck -i SC2059 In ./version.sh line 34: printf "${VER}" ^------^ SC2059: Don't use variables in the printf format string. Use printf '..%s..' "$foo". For more information: https://www.shellcheck.net/wiki/SC2059 -- Don't use variables in the printf... Signed-off-by: 's avatarMario Trangoni <mjtrangoni@gmail.com>
parent cb6e3b7d
......@@ -31,4 +31,4 @@ VER="$(head -n "1" "${VERSION_FILE}" | cut -d"." -f"${COMPONENT}")"
[ "x${VER}" = "x" ] && VER="0"
printf "${VER}"
printf "%s" "${VER}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment