[uPATCH] Re: Questions about Kernel 2.4.0.*

From: Peter Samuelson (peter@cadcamlab.org)
Date: Fri Dec 01 2000 - 13:27:36 EST


[Marc Mutz <Marc@Mutz.com>]
> Should that not be first converted to paths that contain no symlinks?

I agree.

--- Makefile~ Tue Nov 28 21:53:31 2000
+++ Makefile Fri Dec 1 12:25:28 2000
@@ -10,7 +10,7 @@
 CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
           else if [ -x /bin/bash ]; then echo /bin/bash; \
           else echo sh; fi ; fi)
-TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
+TOPDIR := $(shell pwd -P)
 
 HPATH = $(TOPDIR)/include
 FINDHPATH = $(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:08 EST