1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 00:20:08 +01:00

Fix command to get binary path

Because echo is include new line but printf is not include
This commit is contained in:
soilSpoon
2020-11-14 23:27:16 +09:00
parent 6a4cb74392
commit e64d5d877b

View File

@@ -16,7 +16,7 @@
define('VALET_LEGACY_HOME_PATH', $_SERVER['HOME'].'/.valet');
define('PHP_BINARY_PATH', (new CommandLine())->runAsUser('echo $(brew --prefix)/bin/php'));
define('PHP_BINARY_PATH', (new CommandLine())->runAsUser('printf $(brew --prefix)/bin/php'));
/**
* Output the given text to the console.