Prepend /@unixroot to rooted paths on OS/2

$UNIXROOT is a root directory of FHS on OS/2. /@unixroot is replaced by
$UNIXROOT at runtime.
This commit is contained in:
KO Myung-Hun
2015-05-09 15:45:08 +09:00
parent 0fbbbed49c
commit 89324074c4
4 changed files with 9 additions and 5 deletions

2
exec.c
View File

@ -26,7 +26,7 @@
__RCSID("$MirOS: src/bin/mksh/exec.c,v 1.152 2015/04/29 18:32:43 tg Exp $");
#ifndef MKSH_DEFAULT_EXECSHELL
#define MKSH_DEFAULT_EXECSHELL "/bin/sh"
#define MKSH_DEFAULT_EXECSHELL UNIXROOT "/bin/sh"
#endif
static int comexec(struct op *, struct tbl * volatile, const char **,