diff options
author | roberto <roberto@FreeBSD.org> | 2002-11-04 19:36:11 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2002-11-04 19:36:11 +0000 |
commit | a85d9ae25e8e8696677bc30feb6eaf7fc150e529 (patch) | |
tree | 5071c8dbfd7605eec15909cabca2296957573ac7 /contrib/ntp/install-sh | |
parent | 8d541346f2b91896a9ef53cafe2b81898978ccf3 (diff) | |
download | FreeBSD-src-a85d9ae25e8e8696677bc30feb6eaf7fc150e529.zip FreeBSD-src-a85d9ae25e8e8696677bc30feb6eaf7fc150e529.tar.gz |
Virgin import of ntpd 4.1.1b
Diffstat (limited to 'contrib/ntp/install-sh')
-rwxr-xr-x | contrib/ntp/install-sh | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/contrib/ntp/install-sh b/contrib/ntp/install-sh index 5871924..e9de238 100755 --- a/contrib/ntp/install-sh +++ b/contrib/ntp/install-sh @@ -1,15 +1,27 @@ -#! /bin/sh +#!/bin/sh # # install - install a program, script, or datafile -# This comes from X11R5. +# This comes from X11R5 (mit/util/scripts/install.sh). +# +# Copyright 1991 by the Massachusetts Institute of Technology +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of M.I.T. not be used in advertising or +# publicity pertaining to distribution of the software without specific, +# written prior permission. M.I.T. makes no representations about the +# suitability of this software for any purpose. It is provided "as is" +# without express or implied warranty. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written -# from scratch. -# +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. # set DOITPROG to echo to test this script @@ -106,6 +118,7 @@ if [ x"$dir_arg" != x ]; then if [ -d $dst ]; then instcmd=: + chmodcmd="" else instcmd=mkdir fi |