Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk test -h, not test -L.
details: https://anonhg.NetBSD.org/src/rev/ed32d5c4275e
branches: trunk
changeset: 494495:ed32d5c4275e
user: cgd <cgd%NetBSD.org@localhost>
date: Fri Jul 07 04:35:35 2000 +0000
description:
test -h, not test -L.
diffstat:
share/mk/bsd.kinc.mk | 4 ++--
share/mk/bsd.links.mk | 4 ++--
share/mk/bsd.obj.mk | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r d5392403a11c -r ed32d5c4275e share/mk/bsd.kinc.mk
--- a/share/mk/bsd.kinc.mk Fri Jul 07 04:26:57 2000 +0000
+++ b/share/mk/bsd.kinc.mk Fri Jul 07 04:35:35 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.kinc.mk,v 1.16 2000/06/06 09:53:30 mycroft Exp $
+# $NetBSD: bsd.kinc.mk,v 1.17 2000/07/07 04:35:35 cgd Exp $
# System configuration variables:
#
@@ -125,7 +125,7 @@
shift; \
t=${DESTDIR}$$1; \
shift; \
- if [ -L $$t ]; then \
+ if [ -h $$t ]; then \
cur=`ls -ld $$t | awk '{print $$NF}'` ; \
if [ "$$cur" = "$$l" ]; then \
continue ; \
diff -r d5392403a11c -r ed32d5c4275e share/mk/bsd.links.mk
--- a/share/mk/bsd.links.mk Fri Jul 07 04:26:57 2000 +0000
+++ b/share/mk/bsd.links.mk Fri Jul 07 04:35:35 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.links.mk,v 1.13 2000/04/23 07:58:17 simonb Exp $
+# $NetBSD: bsd.links.mk,v 1.14 2000/07/07 04:35:36 cgd Exp $
.PHONY: linksinstall
realinstall: linksinstall
@@ -11,7 +11,7 @@
shift; \
t=${DESTDIR}$$1; \
shift; \
- if [ -L $$t ]; then \
+ if [ -h $$t ]; then \
cur=`ls -ld $$t | awk '{print $$NF}'` ; \
if [ "$$cur" = "$$l" ]; then \
continue ; \
diff -r d5392403a11c -r ed32d5c4275e share/mk/bsd.obj.mk
--- a/share/mk/bsd.obj.mk Fri Jul 07 04:26:57 2000 +0000
+++ b/share/mk/bsd.obj.mk Fri Jul 07 04:35:35 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.obj.mk,v 1.24 2000/02/18 06:09:11 itohy Exp $
+# $NetBSD: bsd.obj.mk,v 1.25 2000/07/07 04:35:36 cgd Exp $
.if !target(__initialized_obj__)
__initialized_obj__:
@@ -52,7 +52,7 @@
here=`${PAWD}`; subdir=$${here#${BSDSRCDIR}/}; \
if test $$here != $$subdir ; then \
dest=${__usrobjdir}/$$subdir${__usrobjdirpf} ; \
- if [ -L $$here/${__objdir} ]; then \
+ if [ -h $$here/${__objdir} ]; then \
curtarg=`ls -ld $$here/${__objdir} | awk '{print $$NF}'` ; \
if [ "$$curtarg" = "$$dest" ]; then \
: ; \
@@ -74,7 +74,7 @@
else \
true ; \
dest=$$here/${__objdir} ; \
- if test ! -d ${__objdir} || test -L ${__objdir}; then \
+ if test ! -d ${__objdir} || test -h ${__objdir}; then \
echo "making $$dest" ; \
rm -f ${__objdir}; \
mkdir $$dest; \
Home |
Main Index |
Thread Index |
Old Index