aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkits.sh
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-11 18:46:53 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-11 18:46:53 +0200
commit52cdd6185ec3320fe58de992c4a1750794082bfd (patch)
tree9dcf15c5b7994de8e74b96ad9e5ce3a151c16f58 /scripts/mkits.sh
parent479adb0929f8afbd1935a0d71832df1e2cea18b2 (diff)
downloadupstream-52cdd6185ec3320fe58de992c4a1750794082bfd.tar.gz
upstream-52cdd6185ec3320fe58de992c4a1750794082bfd.tar.bz2
upstream-52cdd6185ec3320fe58de992c4a1750794082bfd.zip
scripts/mkits.sh: fix use of printf
Due to a line break, printf was accidentally called with three arguments instead of two, causing a different output than before. Fix it by splitting the printf command into two lines. Fixes: 907053193a1c ("scripts/mkits.sh: replace echo -e with printf") Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'scripts/mkits.sh')
-rwxr-xr-xscripts/mkits.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/mkits.sh b/scripts/mkits.sh
index 65071e13ee..468ef670e6 100755
--- a/scripts/mkits.sh
+++ b/scripts/mkits.sh
@@ -15,8 +15,9 @@
#
usage() {
- printf "Usage: %s -A arch -C comp -a addr -e entry -v version"\
- "-k kernel [-D name -d dtb] -o its_file" "$(basename "$0")"
+ printf "Usage: %s -A arch -C comp -a addr -e entry" "$(basename "$0")"
+ printf " -v version -k kernel [-D name -d dtb] -o its_file"
+
printf "\n\t-A ==> set architecture to 'arch'"
printf "\n\t-C ==> set compression type 'comp'"
printf "\n\t-c ==> set config name 'config'"