interconnectit/Search-Replace-DB

srdb.cli.php not compatible with GNU coreutils

jnorell opened this issue · 0 comments

Running srdb.cli.php from cli with /usr/bin/env from GNU coreutils (debian 10 in my case) results in an error:

$ ./Search-Replace-DB/srdb.cli.php --help
/usr/bin/env: ‘php -q’: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines

Simple fix is change the shebang line to #!/usr/bin/env -S php -q as the error says.