pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink2 replace ${TEST} -e with -f.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6d2b8b5edaeb
branches: trunk
changeset: 477492:6d2b8b5edaeb
user: grant <grant%pkgsrc.org@localhost>
date: Sat Jul 03 22:00:03 2004 +0000
description:
replace ${TEST} -e with -f.
diffstat:
mk/buildlink2/fake-la | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 554feefec680 -r 6d2b8b5edaeb mk/buildlink2/fake-la
--- a/mk/buildlink2/fake-la Sat Jul 03 21:59:04 2004 +0000
+++ b/mk/buildlink2/fake-la Sat Jul 03 22:00:03 2004 +0000
@@ -1,6 +1,6 @@
#!@BUILDLINK_SHELL@
#
-# $NetBSD: fake-la,v 1.11 2004/02/21 10:35:57 jlam Exp $
+# $NetBSD: fake-la,v 1.12 2004/07/03 22:00:03 grant Exp $
AR="@AR@"
AWK="@AWK@"
@@ -52,7 +52,7 @@
libbase=`${ECHO} $libname | ${SED} -e "s/\.a$//"`
ltlib="$realdir/$libbase.la"
# If there's already a libtool .la file, use it.
- if ${TEST} -e "$ltlib" ; then
+ if ${TEST} -f "$ltlib" ; then
current=`${SED} -n -e'/^current=[[:digit:]]/{ s/^current=//; p; };' "$ltlib"`
rev=`${SED} -n -e'/^revision=[[:digit:]]/{ s/^revision=//; p; };' "$ltlib"`
current=$(($current + 0))
Home |
Main Index |
Thread Index |
Old Index