Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 09:53:04 -0700 (PDT)
From:      april <april@oublinet.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/40846: deprecated test(1) options in src/include/Makefile
Message-ID:  <200207211653.g6LGr43T044369@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         40846
>Category:       bin
>Synopsis:       deprecated test(1) options in src/include/Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 21 10:00:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     april
>Release:        FreeBSD 4.6-STABLE
>Organization:
>Environment:
FreeBSD december 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Jun 29 15:08:33 EST 2002     root@december:/usr/obj/usr/src/sys/DECEMBER  i386
>Description:
      From test(1)

-h file       True if file exists and is a symbolic link.  This operator
              is retained for compatibility with previous versions of
              this program.  Do not rely on its existence; use -L
              instead.
>How-To-Repeat:
      check src/include/Makefile :)
>Fix:
      This issue is also addressed in PR #38724, but for 
bsd.{sys,port}.mk. This issue also exists for the ipfilter makefiles.

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/include/Makefile,v
retrieving revision 1.171
diff -u -r1.171 Makefile
--- Makefile    2002/06/17 01:42:33     1.171
+++ Makefile    2002/07/21 16:50:33
@@ -81,7 +81,7 @@
 
 copies:
 .for i in ${LDIRS} ${LSYMSUBDIRS} machine
-       if [ -h ${DESTDIR}/usr/include/$i ]; then \
+       if [ -L ${DESTDIR}/usr/include/$i ]; then \
                rm -f ${DESTDIR}/usr/include/$i; \
        fi
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207211653.g6LGr43T044369>