summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2004-07-03 22:00:03 +0000
committergrant <grant>2004-07-03 22:00:03 +0000
commitdc4c9d39b695f6e91d8b48aaf584a3c3ea3ad1f3 (patch)
treea1f02ef409b6659f48eec379dd6de366530ab125 /mk
parent6eaff6e53e89eaa39e3179d4dbe617dfa8846a2f (diff)
downloadpkgsrc-dc4c9d39b695f6e91d8b48aaf584a3c3ea3ad1f3.tar.gz
replace ${TEST} -e with -f.
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink2/fake-la4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink2/fake-la b/mk/buildlink2/fake-la
index 78ddee08b1a..c7ee4cc6bdc 100644
--- a/mk/buildlink2/fake-la
+++ b/mk/buildlink2/fake-la
@@ -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 @@ case $libname in
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))