Page MenuHomeFreeBSD

D47587.diff
No OneTemporary

D47587.diff

diff --git a/tools/tools/nanobsd/Files/root/save_cfg b/tools/tools/nanobsd/Files/root/save_cfg
--- a/tools/tools/nanobsd/Files/root/save_cfg
+++ b/tools/tools/nanobsd/Files/root/save_cfg
@@ -62,7 +62,7 @@
# Add to cfg (y/n/i)?
# y) -> save this file in /cfg
# n) -> do not save this file in /cfg for current script invocation ONLY
- # i) -> add file to ignore list (/cfg/.ignore hiereachy) and never save
+ # i) -> add file to ignore list (/cfg/.ignore hierarchy) and never save
# try to add this file to /cfg.
#
# touch is used to add files to /cfg to keep the script flow straight and easy
diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -497,10 +497,10 @@
# a user's cfg file would override this.
#
fixup_before_diskimage ( ) (
- # Run the deduplication script that takes the matalog journal and
+ # Run the deduplication script that takes the metalog journal and
# combines multiple entries for the same file (see source for
# details). We take the extra step of removing the size keywords. This
- # script, and many of the user scripts, copies, appeneds and otherwise
+ # script, and many of the user scripts, copies, appends and otherwise
# modifies files in the build, changing their sizes. These actions are
# impossible to trap, so go ahead remove the size= keyword. For this
# narrow use, it doesn't buy us any protection and just gets in the way.
@@ -814,7 +814,7 @@
CR "${PKGCMD} add /_.p/${_NANO_PKG_PACKAGE}"
(
- # Expand any glob characters in pacakge list
+ # Expand any glob characters in package list
cd "${NANO_PACKAGE_DIR}"
_PKGS=`find ${NANO_PACKAGE_LIST} -not -name "${_NANO_PKG_PACKAGE}" -print | sort | uniq`
@@ -905,7 +905,7 @@
# Setup and Export Internal variables
#
-export_var ( ) { # Don't wawnt a subshell
+export_var ( ) { # Don't want a subshell
var=$1
# Lookup value of the variable.
eval val=\$$var
@@ -914,7 +914,7 @@
}
# Call this function to set defaults _after_ parsing options.
-# dont want a subshell otherwise variable setting is thrown away.
+# don't want a subshell otherwise variable setting is thrown away.
set_defaults_and_export ( ) {
: ${NANO_OBJ:=/usr/obj/nanobsd.${NANO_NAME}${NANO_LAYOUT:+.${NANO_LAYOUT}}}
: ${MAKEOBJDIRPREFIX:=${NANO_OBJ}}
diff --git a/tools/tools/nanobsd/fill_pkg.sh b/tools/tools/nanobsd/fill_pkg.sh
--- a/tools/tools/nanobsd/fill_pkg.sh
+++ b/tools/tools/nanobsd/fill_pkg.sh
@@ -160,7 +160,7 @@
if [ -f "$NANO_PKG_DUMP/$i.pkg" ] ; then
$COPY "$NANO_PKG_DUMP/$i.pkg" "$NANO_PKG_DIR"
else
- echo "Package $i misssing in $NANO_PKG_DUMP" 1>&2
+ echo "Package $i missing in $NANO_PKG_DUMP" 1>&2
exit 1
fi
done
diff --git a/tools/tools/nanobsd/mtree-dedup.awk b/tools/tools/nanobsd/mtree-dedup.awk
--- a/tools/tools/nanobsd/mtree-dedup.awk
+++ b/tools/tools/nanobsd/mtree-dedup.awk
@@ -84,7 +84,7 @@
return lv;
}
-# Parse the mtree line into path + KVs. Use a sentinal value
+# Parse the mtree line into path + KVs. Use a sentinel value
# for a bare keyword, which is extremely unlikely to be used
# for real.
function line2kv(kvs, str)

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 7, 7:43 AM (15 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36153458
Default Alt Text
D47587.diff (3 KB)

Event Timeline