projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
725019b
)
tools: improve portability of imx_cntr_image.sh
author
Martin Husemann
<martin@NetBSD.org>
Fri, 9 Nov 2018 13:30:14 +0000
(14:30 +0100)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 1 Jan 2019 13:12:18 +0000
(14:12 +0100)
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 =.
tools/imx_cntr_image.sh
patch
|
blob
|
history
diff --git
a/tools/imx_cntr_image.sh
b/tools/imx_cntr_image.sh
index 4c629e86946f1886cc4d174eb991fa04d5f722f7..972b95ccbeef9133492a78e6d2771e8a21ebcfcb 100755
(executable)
--- 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