Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat make this more robust by using .CURDIR to cd.



details:   https://anonhg.NetBSD.org/src/rev/90503294c103
branches:  trunk
changeset: 340603:90503294c103
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Sep 17 02:22:47 2015 +0000

description:
make this more robust by using .CURDIR to cd.

diffstat:

 tools/compat/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2bd2746bfe56 -r 90503294c103 tools/compat/Makefile
--- a/tools/compat/Makefile     Thu Sep 17 02:00:33 2015 +0000
+++ b/tools/compat/Makefile     Thu Sep 17 02:22:47 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.74 2015/07/26 14:01:53 kamil Exp $
+#      $NetBSD: Makefile,v 1.75 2015/09/17 02:22:47 christos Exp $
 
 HOSTLIB=       nbcompat
 
@@ -125,7 +125,7 @@
 
 # Install include files in ${TOOLDIR}/include/compat
 includes: .PHONY ${HOST_INCINSTDIRS} .WAIT ${HOST_INCINSTFILES}
-       @(cd include && find . -name '*.h' -print | while read f ; do \
+       @(cd ${.CURDIR}/include && find . -name '*.h' -print | while read f ; do \
            ${HOST_INSTALL_FILE} $$f ${HOST_INCSDIR}/compat/$$f ; \
        done)
 



Home | Main Index | Thread Index | Old Index