install.sh revision 125514
1174294Sobrien#! /bin/sh 238494Sobrien# 338494Sobrien# Copyright (c) 1999 Marcel Moolenaar 438494Sobrien# All rights reserved. 5174294Sobrien# 638494Sobrien# Redistribution and use in source and binary forms, with or without 738494Sobrien# modification, are permitted provided that the following conditions 838494Sobrien# are met: 938494Sobrien# 1. Redistributions of source code must retain the above copyright 1038494Sobrien# notice, this list of conditions and the following disclaimer 1138494Sobrien# in this position and unchanged. 1238494Sobrien# 2. Redistributions in binary form must reproduce the above copyright 1338494Sobrien# notice, this list of conditions and the following disclaimer in the 1438494Sobrien# documentation and/or other materials provided with the distribution. 15119679Smbr# 3. The name of the author may not be used to endorse or promote products 1638494Sobrien# derived from this software without specific prior written permission 1738494Sobrien# 1838494Sobrien# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1938494Sobrien# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 2051292Sobrien# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 21174294Sobrien# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 2238494Sobrien# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2338494Sobrien# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2438494Sobrien# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2538494Sobrien# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2638494Sobrien# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2738494Sobrien# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2838494Sobrien# 2938494Sobrien# $FreeBSD: head/tools/install.sh 125514 2004-02-06 11:00:13Z ru $ 3038494Sobrien 3138494Sobrien# parse install's options and ignore them completely. 3238494Sobrienwhile [ $# -gt 0 ]; do 3338494Sobrien case $1 in 34174294Sobrien -[bCcMpSs]) shift;; 3538494Sobrien -[Bfgmo]) shift; shift;; 3651292Sobrien *) break; 3751292Sobrien esac 3851292Sobriendone 3942629Sobrien 4051292Sobrien# the remaining arguments are assumed to be files/dirs only. 4151292Sobrienexec install -p $* 4251292Sobrien