changeset 6039:0503a5e92824

6972274: Fix the use of egrep -ci in the top level makefile sanity checks Reviewed-by: prr
author ohair
date Mon, 26 Jul 2010 14:14:42 -0700
parents 88db80c8e49c
children a80a6daf6891
files make/sanity-rules.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/sanity-rules.gmk	Wed Jul 05 17:18:12 2017 +0200
+++ b/make/sanity-rules.gmk	Mon Jul 26 14:14:42 2010 -0700
@@ -228,7 +228,7 @@
 ######################################################
 alt_bootdir:
 ifdef ALT_BOOTDIR
-	@if [ `$(ECHO) $(subst \,/,$(ALT_BOOTDIR)) | $(EGREP) -ci '^([a-z]:)?/'` -ne 1 ]; then \
+	@if [ `$(ECHO) $(subst \,/,$(ALT_BOOTDIR)) | $(EGREP) -c '^([A-Za-z]:)?/'` -ne 1 ]; then \
 	  $(ECHO) "ERROR: ALT_BOOTDIR must be an Absolute Path Name, \n" \
 	    "      not a Relative Path Name. \n" \
 	    "      The current value of ALT_BOOTDIR is \n" \