From what I can tell, install.sh supported all of the install(1)

options since revision 1.2, so removed the XXX comment now.

Fixed bogus test(1) expression that would be evaluated as a null
string test if script is run without arguments, compacted option
lists.
This commit is contained in:
Ruslan Ermilov 2004-02-06 11:00:13 +00:00
parent 3d99503552
commit 285c793501

View File

@ -29,11 +29,10 @@
# $FreeBSD$
# parse install's options and ignore them completely.
# XXX - not all options are recognised.
while [ ! -z $1 ]; do
while [ $# -gt 0 ]; do
case $1 in
-b | -C | -c | -M | -p | -S | -s) shift;;
-B | -f | -g | -m | -o) shift; shift;;
-[bCcMpSs]) shift;;
-[Bfgmo]) shift; shift;;
*) break;
esac
done