Skip to content

Commit

Permalink
scripts/mkits.sh: add missing quotes
Browse files Browse the repository at this point in the history
Found with shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb authored and ynezz committed Jul 11, 2020
1 parent 9070531 commit 765858f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/mkits.sh
Expand Up @@ -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
Expand Down Expand Up @@ -115,4 +115,4 @@ ${FDT_NODE}
};"

# Write .its file to disk
echo "$DATA" > ${OUTPUT}
echo "$DATA" > "${OUTPUT}"

0 comments on commit 765858f

Please sign in to comment.