diff options
author | jlam <jlam> | 2007-07-04 19:21:22 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-07-04 19:21:22 +0000 |
commit | 714e8302a881349d1ecd0b4e29482a45754093a8 (patch) | |
tree | e5ef3fe13d5ef12508f9b917c2bbd76eb646f3de /sysutils | |
parent | 2cd8f0861e3cc8d6b80ca4d463fac27c02ddb222 (diff) | |
download | pkgsrc-714e8302a881349d1ecd0b4e29482a45754093a8.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')
-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 |