9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.62k stars 320 forks source link

mk: provide a mechanism to default to `rc` #523

Closed dancrossnyc closed 2 years ago

dancrossnyc commented 2 years ago

For cross-compiling plan9 from Unix, provide a way to force mk to use rc instead of sh without setting MKSHELL in individual mkfiles.

If the environment variable FORCERCFORMK is set, mk will default to using rc, not sh.

Signed-off-by: Dan Cross cross@gajendra.net