Module Name:    src
Committed By:   christos
Date:           Thu Sep 17 02:22:47 UTC 2015

Modified Files:
        src/tools/compat: Makefile

Log Message:
make this more robust by using .CURDIR to cd.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/tools/compat/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/compat/Makefile
diff -u src/tools/compat/Makefile:1.74 src/tools/compat/Makefile:1.75
--- src/tools/compat/Makefile:1.74	Sun Jul 26 10:01:53 2015
+++ src/tools/compat/Makefile	Wed Sep 16 22:22:47 2015
@@ -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 @@ ${HOST_INCSDIR}/compat/${_d}:
 
 # 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)
 

Reply via email to