summaryrefslogtreecommitdiffstats
path: root/tools/install.sh
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-02-06 11:00:13 +0000
committerru <ru@FreeBSD.org>2004-02-06 11:00:13 +0000
commitd5133b3d64301b6c85b2530ae9ce3d524b90f904 (patch)
tree17d010b9efad2e065875c39ab0f2125f606a1a8d /tools/install.sh
parente9babba8fbf82ad381045cdb4d468b844c7c24fd (diff)
downloadFreeBSD-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/install.sh')
-rw-r--r--tools/install.sh7
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
OpenPOWER on IntegriCloud