Skip to content

Commit bc7f749

Browse files
committed
add back usr/bin/env
1 parent 7acbb29 commit bc7f749

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DB_Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ public function repair( $_, $assoc_args ) {
398398
public function cli( $_, $assoc_args ) {
399399

400400
$command = sprintf(
401-
'%s%s --no-auto-rehash',
401+
'/usr/bin/env %s%s --no-auto-rehash',
402402
$this->get_mysql_command(),
403403
$this->get_defaults_flag_string( $assoc_args )
404404
);
@@ -501,7 +501,7 @@ public function cli( $_, $assoc_args ) {
501501
public function query( $args, $assoc_args ) {
502502

503503
$command = sprintf(
504-
'%s%s --no-auto-rehash',
504+
'/usr/bin/env %s%s --no-auto-rehash',
505505
$this->get_mysql_command(),
506506
$this->get_defaults_flag_string( $assoc_args )
507507
);

0 commit comments

Comments
 (0)