pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/buildlink2 Option "-e" for "test" is not portable.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e771d8d0bb7
branches:  trunk
changeset: 477655:5e771d8d0bb7
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Tue Jul 06 20:47:15 2004 +0000

description:
Option "-e" for "test" is not portable.

diffstat:

 mk/buildlink2/fake-la |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r cfd8ee8cc9dc -r 5e771d8d0bb7 mk/buildlink2/fake-la
--- a/mk/buildlink2/fake-la     Tue Jul 06 20:44:05 2004 +0000
+++ b/mk/buildlink2/fake-la     Tue Jul 06 20:47:15 2004 +0000
@@ -1,6 +1,6 @@
 #!@BUILDLINK_SHELL@
 #
-# $NetBSD: fake-la,v 1.12 2004/07/03 22:00:03 grant Exp $
+# $NetBSD: fake-la,v 1.13 2004/07/06 20:47:15 heinz Exp $
 
 AR="@AR@"
 AWK="@AWK@"
@@ -100,7 +100,7 @@
 
 for file in $dlname $library_names $old_library
 do
-       if ! [ -e $realdir/$file ]
+       if ${TEST} ! -r $realdir/$file
        then
                removal_pattern="$removal_pattern -e s,$file\([^.0-9]\),\1,g"
        fi



Home | Main Index | Thread Index | Old Index