mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
HackStudio: set sane $PATH early to include /usr/local/bin
Launching from the terminal inherits $PATH which includes /usr/local/bin, but launching from the system menubar doesn't, so HackStudio wasn't finding make installed from ports.
This commit is contained in:
parent
5c25983844
commit
d063a4ccf3
2 changed files with 8 additions and 1 deletions
|
@ -105,7 +105,6 @@ void TerminalWrapper::run_command(const String& command)
|
|||
}
|
||||
|
||||
setenv("TERM", "xterm", true);
|
||||
setenv("PATH", "/bin:/usr/bin:/usr/local/bin", true);
|
||||
|
||||
auto parts = command.split(' ');
|
||||
ASSERT(!parts.is_empty());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue