summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2004-07-06 20:47:15 +0000
committerheinz <heinz@pkgsrc.org>2004-07-06 20:47:15 +0000
commit9dc735e74069680c0a919c45f94dba2864b8a9d2 (patch)
treec65aab92fbeddd74d7de1069fcfade54c38d6f11 /mk
parentc5ac5522c083cdf94ccc511c7ba48df89164a8cc (diff)
downloadpkgsrc-9dc735e74069680c0a919c45f94dba2864b8a9d2.tar.gz
Option "-e" for "test" is not portable.
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 c7ee4cc6bdc..621de37e188 100644
--- a/mk/buildlink2/fake-la
+++ b/mk/buildlink2/fake-la
@@ -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 @@ old_library=`${SED} -n -e"/^old_library='/{ s/^old_library='//; s/'$//; p; };" "
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