6972274: Fix the use of egrep -ci in the top level makefile sanity checks

Mon, 26 Jul 2010 14:14:42 -0700

author
ohair
date
Mon, 26 Jul 2010 14:14:42 -0700
changeset 200
f1ba69da5003
parent 198
a136a51f5113
child 201
be2aedc4e3b1

6972274: Fix the use of egrep -ci in the top level makefile sanity checks
Reviewed-by: prr

make/sanity-rules.gmk file | annotate | diff | comparison | revisions
     1.1 --- a/make/sanity-rules.gmk	Tue Jul 20 22:17:26 2010 -0700
     1.2 +++ b/make/sanity-rules.gmk	Mon Jul 26 14:14:42 2010 -0700
     1.3 @@ -228,7 +228,7 @@
     1.4  ######################################################
     1.5  alt_bootdir:
     1.6  ifdef ALT_BOOTDIR
     1.7 -	@if [ `$(ECHO) $(subst \,/,$(ALT_BOOTDIR)) | $(EGREP) -ci '^([a-z]:)?/'` -ne 1 ]; then \
     1.8 +	@if [ `$(ECHO) $(subst \,/,$(ALT_BOOTDIR)) | $(EGREP) -c '^([A-Za-z]:)?/'` -ne 1 ]; then \
     1.9  	  $(ECHO) "ERROR: ALT_BOOTDIR must be an Absolute Path Name, \n" \
    1.10  	    "      not a Relative Path Name. \n" \
    1.11  	    "      The current value of ALT_BOOTDIR is \n" \

mercurial