Added support for all new install(1) options.

Removed -c from the actual call as -p implies "copy".
This commit is contained in:
Ruslan Ermilov 2001-05-28 16:53:01 +00:00
parent f120c88cca
commit 2c745214f2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77346

View File

@ -32,11 +32,11 @@
# XXX - not all options are recognised.
while [ ! -z $1 ]; do
case $1 in
-C | -c | -D | -M | -p | -s) shift;;
-f | -g | -m | -o) shift; shift;;
-b | -C | -c | -M | -p | -S | -s) shift;;
-B | -f | -g | -m | -o) shift; shift;;
*) break;
esac
done
# the remaining arguments are assumed to be files/dirs only.
exec install -c -p $*
exec install -p $*