mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix ability to use csh(1) as the make(1) shell.
Sponsored by: Bright Path Solutions
This commit is contained in:
parent
c0c1dca769
commit
3873e563fc
1 changed files with 3 additions and 1 deletions
|
|
@ -1049,7 +1049,9 @@ Cmd_Exec(cmd, error)
|
|||
(void) dup2(fds[1], 1);
|
||||
(void) close(fds[1]);
|
||||
|
||||
#if DEFSHELL == 1
|
||||
#if defined(DEFSHELL) && DEFSHELL == 0
|
||||
(void) execv("/bin/csh", args);
|
||||
#elif DEFSHELL == 1
|
||||
(void) execv("/bin/sh", args);
|
||||
#elif DEFSHELL == 2
|
||||
(void) execv("/bin/ksh", args);
|
||||
|
|
|
|||
Loading…
Reference in a new issue