summaryrefslogtreecommitdiff
path: root/share/mk/bsd.obj.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/bsd.obj.mk')
-rw-r--r--share/mk/bsd.obj.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.obj.mk b/share/mk/bsd.obj.mk
index ee77cac36ac..df415ef9e57 100644
--- a/share/mk/bsd.obj.mk
+++ b/share/mk/bsd.obj.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.obj.mk,v 1.8 1997/05/03 11:32:46 niklas Exp $
+# $OpenBSD: bsd.obj.mk,v 1.9 1997/06/12 15:22:38 kstailey Exp $
# $NetBSD: bsd.obj.mk,v 1.9 1996/04/10 21:08:05 thorpej Exp $
.if !target(obj)
@@ -38,7 +38,7 @@ obj! _SUBDIRUSE
dest=${__usrobjdir}/$$subdir${__usrobjdirpf} ; \
echo "$$here/${__objdir} -> $$dest"; \
if test ! -L ${__objdir} -o \
- X`perl -e "print readlink('${__objdir}')"` != X$$dest; \
+ X`readlink ${__objdir}` != X$$dest; \
then \
if test -e ${__objdir}; then rm -rf ${__objdir}; fi; \
ln -s $$dest ${__objdir}; \