mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-db/mysql-init-scripts: stop using deprecated egrep alias
Since grep 3.8, this resulted in "egrep: warning: egrep is obsolescent; using /bin/grep -E". Signed-off-by: Louis Sautier <sbraz@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/28437
This commit is contained in:
@@ -47,7 +47,7 @@ bootstrap_galera() {
|
||||
|
||||
start() {
|
||||
# Check for old conf.d variables that mean migration was not yet done.
|
||||
set | egrep -sq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
|
||||
set | grep -Esq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
|
||||
rc=$?
|
||||
# Yes, MYSQL_INIT_I_KNOW_WHAT_I_AM_DOING is a hidden variable.
|
||||
# It does have a use in testing, as it is possible to build a config file
|
||||
|
||||
@@ -44,7 +44,7 @@ bootstrap_galera() {
|
||||
|
||||
start() {
|
||||
# Check for old conf.d variables that mean migration was not yet done.
|
||||
set | egrep -sq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
|
||||
set | grep -Esq '^(mysql_slot_|MYSQL_BLOG_PID_FILE|STOPTIMEOUT)'
|
||||
rc=$?
|
||||
# Yes, MYSQL_INIT_I_KNOW_WHAT_I_AM_DOING is a hidden variable.
|
||||
# It does have a use in testing, as it is possible to build a config file
|
||||
|
||||
Reference in New Issue
Block a user