6972274: Fix the use of egrep -ci in the top level makefile sanity checks
Reviewed-by: prr
This commit is contained in:
parent
7c87c80e68
commit
3362748733
@ -228,7 +228,7 @@ endif
|
|||||||
######################################################
|
######################################################
|
||||||
alt_bootdir:
|
alt_bootdir:
|
||||||
ifdef 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" \
|
$(ECHO) "ERROR: ALT_BOOTDIR must be an Absolute Path Name, \n" \
|
||||||
" not a Relative Path Name. \n" \
|
" not a Relative Path Name. \n" \
|
||||||
" The current value of ALT_BOOTDIR is \n" \
|
" The current value of ALT_BOOTDIR is \n" \
|
||||||
|
Loading…
Reference in New Issue
Block a user