Skip to content
Snippets Groups Projects
Commit 9116096c authored by Petr Štetiar's avatar Petr Štetiar
Browse files

check-toolchain-clean.sh: fix shellcheck warnings


Fixes following complaints and suggestions:

 In scripts/check-toolchain-clean.sh line 2:
 eval `grep CONFIG_GCC_VERSION .config`
      ^-- SC2046 (warning): Quote this to prevent word splitting.
      ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
parent 0dc3566a
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
eval `grep CONFIG_GCC_VERSION .config`
eval "$(grep CONFIG_GCC_VERSION .config)"
CONFIG_TOOLCHAIN_BUILD_VER="$CONFIG_GCC_VERSION-$(cat toolchain/build_version)"
touch .toolchain_build_ver
[ "$CONFIG_TOOLCHAIN_BUILD_VER" = "$(cat .toolchain_build_ver)" ] && exit 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment