[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2002/04/08 19:01:19

Modified files:
	distrib/miniroot: install.sh install.sub upgrade.sh 

Log message:
More reorganizations, fixes and shrinkage.

a) Make [ -z "$var" ] standard idiom, replacing
many variants on [ X"$var" = X"" ].

b) Factor out three large chunks of repeated code
for finding sets, getting user to select sets
and then installing the sets. This creates
get_sets_list(), get_get_files_list() and

c) Eliminate unneeded dir_has_sets() function.

d) Indent last large functions that were not
properly indented.

e) Replace most if not all 'test' invocations
with [], replacing a few if statements along
the way.

f) Use ${MODE} a lot more to make messages appear
more relevant to process.

g) Fix erroneous display of $local_sets_dir so
the error for a non-existant dir actually displays
the user input, not an empty string.

h) Eliminate the 'list' option in selecting sets. It
was not possible to actually select anything except
what was already displayed, so bring verbiage and
options into line with code.

i) Replace a number of '\"' and "\'" with just plain
's or "s as appropriate.

j) Replace ".  " with ". ".

k) Use some more "OpenBSD {$VERSION_MAJOR}.${VERSION_MINOR}"
to make more messages correct and current.

l) Various typos fixed.

Net shrinkage approximately 2K.

ok millert@ deraadt@