From: Rosen Penev Date: Mon, 6 Jan 2020 02:31:18 +0000 (-0800) Subject: scripts/mkits.sh: add missing quotes X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=765858f7ad77d1c88ad2b0f6f01839db105a1e36;p=openwrt%2Fstaging%2Flinusw.git scripts/mkits.sh: add missing quotes Found with shellcheck. Signed-off-by: Rosen Penev --- 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}"