diff options
author | Martin Husemann <martin@NetBSD.org> | 2018-11-09 14:30:14 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-01-01 14:12:18 +0100 |
commit | 757ab988e44892dee6df4cc2a2a36f74eb6d73a6 (patch) | |
tree | 34f882727bab3aa10dcb1f4e44e4bbc330e01e08 /tools | |
parent | 725019bebeb681bab123a323e8a21ca858277c3d (diff) | |
download | u-boot-757ab988e44892dee6df4cc2a2a36f74eb6d73a6.tar.gz u-boot-757ab988e44892dee6df4cc2a2a36f74eb6d73a6.tar.bz2 u-boot-757ab988e44892dee6df4cc2a2a36f74eb6d73a6.zip |
tools: improve portability of imx_cntr_image.sh
Replace non-portable operator == with =
The operator == in sh(1) / test(1) is non-POSIX and only implemented by
some shells (like bash). It is equivalent to the standard defined operator =.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/imx_cntr_image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/imx_cntr_image.sh b/tools/imx_cntr_image.sh index 4c629e8694..972b95ccbe 100755 --- a/tools/imx_cntr_image.sh +++ b/tools/imx_cntr_image.sh @@ -10,7 +10,7 @@ file=$1 blobs=`awk '/^APPEND/ {print $2} /^IMAGE/ || /^DATA/ {print $3}' $file` for f in $blobs; do tmp=$srctree/$f - if [ $f == "u-boot-dtb.bin" ]; then + if [ $f = "u-boot-dtb.bin" ]; then continue fi |