mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
15 lines
566 B
Plaintext
15 lines
566 B
Plaintext
OpenBSD whereis doesn't support -b
|
|
|
|
Index: app/ConfigRepository.php
|
|
--- app/ConfigRepository.php.orig
|
|
+++ app/ConfigRepository.php
|
|
@@ -535,7 +535,7 @@ class ConfigRepository
|
|
public function locateBinary($binary): mixed
|
|
{
|
|
if (! Str::contains($binary, '/')) {
|
|
- $output = shell_exec("whereis -b $binary");
|
|
+ $output = shell_exec("whereis $binary");
|
|
$list = trim(substr((string) $output, strpos((string) $output, ':') + 1));
|
|
$targets = explode(' ', $list);
|
|
foreach ($targets as $target) {
|