summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheinz <heinz>2004-07-06 20:47:15 +0000
committerheinz <heinz>2004-07-06 20:47:15 +0000
commitc066f28d0722c6dbbb581e5ce24ae6e8624d85e5 (patch)
treec65aab92fbeddd74d7de1069fcfade54c38d6f11
parent0566867ad10a55c02bc2a2e2ef022684ab3e3016 (diff)
downloadpkgsrc-c066f28d0722c6dbbb581e5ce24ae6e8624d85e5.tar.gz
Option "-e" for "test" is not portable.
-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