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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user