diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-01-05 18:31:18 -0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-11 14:42:32 +0200 |
commit | 765858f7ad77d1c88ad2b0f6f01839db105a1e36 (patch) | |
tree | 9645e545b79be3e2cebd80e3b0c9d8446faad367 /scripts | |
parent | 907053193a1c64306247cc43b8677ce765933ca2 (diff) | |
download | openwrt-765858f7ad77d1c88ad2b0f6f01839db105a1e36.tar.gz openwrt-765858f7ad77d1c88ad2b0f6f01839db105a1e36.tar.bz2 openwrt-765858f7ad77d1c88ad2b0f6f01839db105a1e36.zip |
scripts/mkits.sh: add missing quotes
Found with shellcheck.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkits.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkits.sh b/scripts/mkits.sh index def3d3c7c2..53b9ec5f20 100755 --- 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}" |