This fixes 'command -p' for systems where getconf(1) lives somewhere other than in /bin or /usr/bin, i.e. NixOS. src/lib/libast/comp/conf.tab: - To determine the default path value for AST 'getconf PATH' and 'command -p', compile a small C program to get the correct local default path value (_CS_PATH) from the operating system so it gets hardcoded in the ksh binary. This eliminates the need to to invoke 'getconf PATH' to get this value, which fixes a catch-22 problem on systems where getconf(1) exists somewhere other than /bin or /usr/bin. |
||
|---|---|---|
| .. | ||
| libast | ||
| libcmd | ||
| libdll | ||
| libsum | ||
| Makefile | ||
| Mamfile | ||