scripts/mkits.sh: add missing quotes

Found with shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-01-05 18:31:18 -08:00 committed by Petr Štetiar
parent 907053193a
commit 765858f7ad

View File

@ -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}"