install.sh revision 54389
1178825Sdfr#! /bin/sh 2178825Sdfr# 3178825Sdfr# Copyright (c) 1999 Marcel Moolenaar 4178825Sdfr# All rights reserved. 5178825Sdfr# 6178825Sdfr# Redistribution and use in source and binary forms, with or without 7178825Sdfr# modification, are permitted provided that the following conditions 8178825Sdfr# are met: 9178825Sdfr# 1. Redistributions of source code must retain the above copyright 10178825Sdfr# notice, this list of conditions and the following disclaimer 11178825Sdfr# in this position and unchanged. 12178825Sdfr# 2. Redistributions in binary form must reproduce the above copyright 13178825Sdfr# notice, this list of conditions and the following disclaimer in the 14178825Sdfr# documentation and/or other materials provided with the distribution. 15178825Sdfr# 3. The name of the author may not be used to endorse or promote products 16178825Sdfr# derived from this software withough specific prior written permission 17178825Sdfr# 18178825Sdfr# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 19178825Sdfr# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 20178825Sdfr# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 21178825Sdfr# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 22178825Sdfr# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23178825Sdfr# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24178825Sdfr# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25178825Sdfr# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26178825Sdfr# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27178825Sdfr# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28178825Sdfr# 29178825Sdfr# $FreeBSD: head/tools/install.sh 54389 1999-12-10 10:14:06Z marcel $ 30178825Sdfr 31178825Sdfr# parse install's options and ignore them completely. 32178825Sdfr# XXX - not all options are recognised. 33178825Sdfrwhile [ ! -z $1 ]; do 34178825Sdfr case $1 in 35178825Sdfr -C | -c | -D | -M | -p | -s) shift;; 36178825Sdfr -f | -g | -m | -o) shift; shift;; 37178825Sdfr *) break; 38178825Sdfr esac 39178825Sdfrdone 40178825Sdfr 41178825Sdfr# the remaining arguments are assumed to be files/dirs only. 42178825Sdfrexec install -C -p $* 43178825Sdfr