pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/install-sh/files Ensure that nonexistent inte...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0fb0ecc05364
branches: trunk
changeset: 530684:0fb0ecc05364
user: jlam <jlam%pkgsrc.org@localhost>
date: Wed Jul 04 19:21:22 2007 +0000
description:
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:
sysutils/install-sh/files/install-sh.in | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r e2f8432ed329 -r 0fb0ecc05364 sysutils/install-sh/files/install-sh.in
--- a/sysutils/install-sh/files/install-sh.in Wed Jul 04 19:18:12 2007 +0000
+++ b/sysutils/install-sh/files/install-sh.in Wed Jul 04 19:21:22 2007 +0000
@@ -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 @@
transformbasename=""
transform_arg=""
instcmd="$mvprog"
+pathcompchmodcmd="$chmodprog @DEFAULT_INSTALL_MODE@"
chmodcmd="$chmodprog @DEFAULT_INSTALL_MODE@"
chowncmd=""
chgrpcmd=""
@@ -202,7 +203,7 @@
$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
Home |
Main Index |
Thread Index |
Old Index