projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9070531
)
scripts/mkits.sh: add missing quotes
author
Rosen Penev
<rosenp@gmail.com>
Mon, 6 Jan 2020 02:31:18 +0000
(18:31 -0800)
committer
Petr Štetiar
<ynezz@true.cz>
Sat, 11 Jul 2020 12:42:32 +0000
(14:42 +0200)
Found with shellcheck.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
scripts/mkits.sh
patch
|
blob
|
history
diff --git
a/scripts/mkits.sh
b/scripts/mkits.sh
index def3d3c7c23c0f4e5ae7dee6b8bb72788f0637d3..53b9ec5f20c1635429630508d075682bf13729c0 100755
(executable)
--- a/
scripts/mkits.sh
+++ b/
scripts/mkits.sh
@@
-55,7
+55,7
@@
if [ -z "${ARCH}" ] || [ -z "${COMPRESS}" ] || [ -z "${LOAD_ADDR}" ] || \
usage
fi
-ARCH_UPPER=$(echo
$ARCH
| tr '[:lower:]' '[:upper:]')
+ARCH_UPPER=$(echo
"$ARCH"
| tr '[:lower:]' '[:upper:]')
# Conditionally create fdt information
if [ -n "${DTB}" ]; then
@@
-115,4
+115,4
@@
${FDT_NODE}
};"
# Write .its file to disk
-echo "$DATA" >
${OUTPUT}
+echo "$DATA" >
"${OUTPUT}"