From d75799c027086ad5f0eca0deb2faa4ec7dcfa03a Mon Sep 17 00:00:00 2001 From: ohair 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 6a17a5b..1ab62f7 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" \ -- GitLab