diff options
author | ru <ru@FreeBSD.org> | 2004-02-06 11:00:13 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-02-06 11:00:13 +0000 |
commit | d5133b3d64301b6c85b2530ae9ce3d524b90f904 (patch) | |
tree | 17d010b9efad2e065875c39ab0f2125f606a1a8d /tools | |
parent | e9babba8fbf82ad381045cdb4d468b844c7c24fd (diff) | |
download | FreeBSD-src-d5133b3d64301b6c85b2530ae9ce3d524b90f904.zip FreeBSD-src-d5133b3d64301b6c85b2530ae9ce3d524b90f904.tar.gz |
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.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/install.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/install.sh b/tools/install.sh index c578dda..899d7e2 100644 --- a/tools/install.sh +++ b/tools/install.sh @@ -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 |