# HG changeset patch # User ohair # Date 1280178882 25200 # Node ID f1ba69da500354f1f4f8b70df97997ed9b0da9ce # Parent a136a51f5113da4dad3853b74a8536ab583ab112 6972274: Fix the use of egrep -ci in the top level makefile sanity checks Reviewed-by: prr diff -r a136a51f5113 -r f1ba69da5003 make/sanity-rules.gmk --- a/make/sanity-rules.gmk Tue Jul 20 22:17:26 2010 -0700 +++ 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" \