diff options
| author | Tom Yu <tlyu@mit.edu> | 1999-07-23 02:47:17 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 1999-07-23 02:47:17 +0000 |
| commit | 6de1a841cc812cc7d4cd3dd53bb50d899eb2a87a (patch) | |
| tree | 1d734ba234e65b14dd7f04f8d5db50b7c9c549fe /src/config/install-sh | |
| parent | e10b8e7990b22489bb6e44e19ba3cc530cd64a6f (diff) | |
| download | krb5-6de1a841cc812cc7d4cd3dd53bb50d899eb2a87a.tar.gz krb5-6de1a841cc812cc7d4cd3dd53bb50d899eb2a87a.tar.xz krb5-6de1a841cc812cc7d4cd3dd53bb50d899eb2a87a.zip | |
* config.guess, config.sub, install-sh: Update from autoconf-2.13
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11581 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config/install-sh')
| -rw-r--r-- | src/config/install-sh | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/src/config/install-sh b/src/config/install-sh index 31420abac..e9de23842 100644 --- a/src/config/install-sh +++ b/src/config/install-sh @@ -1,13 +1,27 @@ #!/bin/sh # # install - install a program, script, or datafile -# This comes from X11R5. +# This comes from X11R5 (mit/util/scripts/install.sh). # -# $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $ +# Copyright 1991 by the Massachusetts Institute of Technology # -# This script is compatible with the BSD install script, but was written -# from scratch. +# 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. 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 @@ -27,7 +41,7 @@ stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" -tranformbasename="" +transformbasename="" transform_arg="" instcmd="$mvprog" chmodcmd="$chmodprog 0755" @@ -104,6 +118,7 @@ if [ x"$dir_arg" != x ]; then if [ -d $dst ]; then instcmd=: + chmodcmd="" else instcmd=mkdir fi |
