pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools Use the shell "test" builtin. Not only is it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0870c6bcff36
branches:  trunk
changeset: 521206:0870c6bcff36
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Nov 06 19:18:42 2006 +0000

description:
Use the shell "test" builtin.  Not only is it faster, but /bin/test is
wrong about some of its results when using implied privileges (e.g., an
account in group Administrators where the directory is writable by Users).

diffstat:

 mk/tools/tools.Interix.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5b5ddb0fbdb9 -r 0870c6bcff36 mk/tools/tools.Interix.mk
--- a/mk/tools/tools.Interix.mk Mon Nov 06 17:58:06 2006 +0000
+++ b/mk/tools/tools.Interix.mk Mon Nov 06 19:18:42 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Interix.mk,v 1.20 2006/03/06 05:25:45 jlam Exp $
+# $NetBSD: tools.Interix.mk,v 1.21 2006/11/06 19:18:42 tv Exp $
 #
 # System-supplied tools for the Interix operating system.
 
@@ -54,7 +54,7 @@
 TOOLS_PLATFORM.strip?=         /bin/strip
 TOOLS_PLATFORM.tail?=          /bin/tail
 TOOLS_PLATFORM.tee?=           /bin/tee
-TOOLS_PLATFORM.test?=          /bin/test
+TOOLS_PLATFORM.test?=          test                    # shell builtin
 TOOLS_PLATFORM.touch?=         /bin/touch
 TOOLS_PLATFORM.tr?=            /bin/tr
 TOOLS_PLATFORM.true?=          true                    # shell builtin



Home | Main Index | Thread Index | Old Index