58b578bfb0
Two patches have been applied on top, both of which are stored in the patches directory as manual-Build.sh and manual-funcs.c, to fix issues on Darwin and SunOS that will be included in the next mksh release. The binary mksh.ico file has been manually removed. This paves the way for mksh to be used as an alternate bootstrap shell instead of shells/pdksh, which has been unmaintained for many years and has some known issues. Initial bulk build results on Darwin and SunOS look good, and having a maintained shell which focuses on portability and speed should provide us with a better long-term option for systems which require a bootstrap shell.
29 lines
862 B
Bash
29 lines
862 B
Bash
$NetBSD: manual-Build.sh,v 1.1 2020/07/06 10:11:34 jperkin Exp $
|
|
|
|
Avoid "test -e", unsupported on legacy Solaris /bin/sh.
|
|
|
|
--- Build.sh.orig 2020-06-24 10:37:23.000000000 +0000
|
|
+++ Build.sh
|
|
@@ -2734,11 +2734,11 @@ if test $legacy = 0; then
|
|
fi
|
|
$e
|
|
$e Installing the manual:
|
|
-if test -e FAQ.htm; then
|
|
+if test -f FAQ.htm; then
|
|
$e "# $i -c -o root -g bin -m 444 FAQ.htm /usr/share/doc/mksh/"
|
|
fi
|
|
if test -f mksh.cat1; then
|
|
- if test -e FAQ.htm; then
|
|
+ if test -f FAQ.htm; then
|
|
$e plus either
|
|
fi
|
|
$e "# $i -c -o root -g bin -m 444 lksh.cat1" \
|
|
@@ -2751,7 +2751,7 @@ $e "# $i -c -o root -g bin -m 444 lksh.1
|
|
$e
|
|
$e Run the regression test suite: ./test.sh
|
|
$e Please also read the sample file dot.mkshrc and the fine manual.
|
|
-test -e FAQ.htm || \
|
|
+test -f FAQ.htm || \
|
|
$e Run FAQ2HTML.sh and place FAQ.htm into a suitable location as well.
|
|
exit 0
|
|
|