pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2004Q2]: pkgsrc/mk Pullup ticket 39 to the pkgsrc-2004Q2 branc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/45f2d91e0f34
branches: pkgsrc-2004Q2
changeset: 476699:45f2d91e0f34
user: agc <agc%pkgsrc.org@localhost>
date: Tue Jul 06 22:11:59 2004 +0000
description:
Pullup ticket 39 to the pkgsrc-2004Q2 branch, requested by Grant Beattie.
Module Name: pkgsrc
Committed By: cjep
Date: Wed Jun 23 11:13:12 UTC 2004
Modified Files:
pkgsrc/mk: bsd.pkg.mk
Log Message:
Use TEST instead of [] when using -nt. This makes the section work on
SunOS.
diffstat:
mk/bsd.pkg.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r fab74470689c -r 45f2d91e0f34 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Tue Jul 06 22:07:12 2004 +0000
+++ b/mk/bsd.pkg.mk Tue Jul 06 22:11:59 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1468 2004/06/05 09:10:41 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1468.2.1 2004/07/06 22:11:59 agc Exp $
#
# This file is in the public domain.
#
@@ -1789,8 +1789,8 @@
${_PKG_SILENT}${_PKG_DEBUG} \
ppid=`${PS} -p $$$$ -o ppid | ${AWK} 'NR == 2 { print $$1 }'`; \
while true; do \
- if [ -f /var/run/dmesg.boot -a -f ${LOCKFILE} -a \
- /var/run/dmesg.boot -nt ${LOCKFILE} ]; then \
+ if ${TEST} -f /var/run/dmesg.boot -a -f ${LOCKFILE} -a \
+ /var/run/dmesg.boot -nt ${LOCKFILE}; then \
${ECHO} "=> Removing stale ${LOCKFILE}"; \
${RM} ${LOCKFILE}; \
fi; \
Home |
Main Index |
Thread Index |
Old Index