diff options
author | jlam <jlam@pkgsrc.org> | 2007-07-04 19:21:22 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-07-04 19:21:22 +0000 |
commit | 00b5a3344d29774d904a1de6ff1e1f19e4d98c1e (patch) | |
tree | e5ef3fe13d5ef12508f9b917c2bbd76eb646f3de /sysutils/install-sh | |
parent | c84cd7f43a8b9f6ef4cced6ff8f289ccd6979288 (diff) | |
download | pkgsrc-00b5a3344d29774d904a1de6ff1e1f19e4d98c1e.tar.gz |
Ensure that nonexistent intermediate directories are created with the
default mode (${PKGDIRMODE}) even if -m <mode> is provided on the
command line.
Bump the package version to 20070704.
Diffstat (limited to 'sysutils/install-sh')
-rw-r--r-- | sysutils/install-sh/files/install-sh.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/install-sh/files/install-sh.in b/sysutils/install-sh/files/install-sh.in index c148df03494..ccf3df2b3a2 100644 --- a/sysutils/install-sh/files/install-sh.in +++ b/sysutils/install-sh/files/install-sh.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: install-sh.in,v 1.2 2007/06/20 16:18:36 jlam Exp $ +# $NetBSD: install-sh.in,v 1.3 2007/07/04 19:21:22 jlam Exp $ # This script now also installs multiple files, but might choke on installing # multiple files with spaces in the file names. # @@ -46,6 +46,7 @@ mkdirprog="${MKDIRPROG-mkdir}" transformbasename="" transform_arg="" instcmd="$mvprog" +pathcompchmodcmd="$chmodprog @DEFAULT_INSTALL_MODE@" chmodcmd="$chmodprog @DEFAULT_INSTALL_MODE@" chowncmd="" chgrpcmd="" @@ -202,7 +203,7 @@ while [ $# -ne 0 ] ; do $doit $mkdirprog "${pathcomp}" if [ x"$chowncmd" != x ]; then $doit $chowncmd "${pathcomp}"; else true ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "${pathcomp}"; else true ; fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "${pathcomp}"; else true ; fi + if [ x"$pathcompchmodcmd" != x ]; then $doit $pathcompchmodcmd "${pathcomp}"; else true ; fi else true |