summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2014-01-30 21:47:12 +0000
committerbrooks <brooks@FreeBSD.org>2014-01-30 21:47:12 +0000
commit0a07d9ce6d7695e0b79bda59f51c5ec42b73d1a5 (patch)
tree523407840aadedf7879e23639aba5b84bf3a190f /tools
parent888ff01182097ad7a023a28d0cbce892ce1f20e9 (diff)
downloadFreeBSD-src-0a07d9ce6d7695e0b79bda59f51c5ec42b73d1a5.zip
FreeBSD-src-0a07d9ce6d7695e0b79bda59f51c5ec42b73d1a5.tar.gz
The -B flag is intended to take an argument.
Fix a couple typos in comments. MFC after: 4 weeks Sponsored by: DARPA, ARFL
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tools/makeroot/makeroot.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tools/makeroot/makeroot.sh b/tools/tools/makeroot/makeroot.sh
index 3db4e7f..75b8259 100755
--- a/tools/tools/makeroot/makeroot.sh
+++ b/tools/tools/makeroot/makeroot.sh
@@ -65,7 +65,7 @@ atexit()
}
DEBUG=
-# Allow duplice manifest entries when not file list is given because the
+# Allow duplicate manifest entries when not file list is given because the
# FreeBSD METALOG still includes it.
DUPFLAG=-D
EXTRAS=
@@ -75,7 +75,7 @@ KEYDIR=
KEYUSERS=
PASSWD=
-while getopts "Bde:f:g:K:k:p:s:" opt; do
+while getopts "B:de:f:g:K:k:p:s:" opt; do
case "$opt" in
B) BFLAG="-B ${OPTARG}" ;;
d) DEBUG=1 ;;
@@ -174,7 +174,7 @@ else
/ type=/ { if ($1 != file) {print} }' >> ${manifest}
fi
-# For each extras file, add contents kyes relative to the directory the
+# For each extras file, add contents keys relative to the directory the
# manifest lives in for each file line that does not have one. Adjust
# contents keys relative to ./ to be relative to the same directory.
for eman in ${EXTRAS}; do
OpenPOWER on IntegriCloud