From 3362748733ae1c7f1e9e117f765b760ddab11630 Mon Sep 17 00:00:00 2001 From: Kelly O'Hair Date: Mon, 26 Jul 2010 14:14:42 -0700 Subject: [PATCH] 6972274: Fix the use of egrep -ci in the top level makefile sanity checks Reviewed-by: prr --- make/sanity-rules.gmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/sanity-rules.gmk b/make/sanity-rules.gmk index 6a17a5be890..1ab62f7d601 100644 --- a/make/sanity-rules.gmk +++ b/make/sanity-rules.gmk @@ -228,7 +228,7 @@ endif ###################################################### 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" \