[PATCH]: Makefile

From: Grant Erickson (grant@borg.umn.edu)
Date: Thu Aug 31 2000 - 10:36:16 EST


This patch addresses a small syntax issue with setting 'CONFIG_SHELL':

--- Makefile-2.4.0-test7 Wed Aug 30 14:15:30 2000
+++ Makefile Wed Aug 30 14:19:48 2000
@@ -8,8 +8,8 @@
 ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
 
 CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
- else if [ -x /bin/bash ]; then echo /bin/bash; \
- else echo sh; fi ; fi)
+ elif [ -x /bin/bash ]; then echo /bin/bash; \
+ else echo sh; fi)
 TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
 
 HPATH = $(TOPDIR)/include

-
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 Aug 31 2000 - 21:00:27 EST