blob: 6a574e4c7190ed97b6d40d66dd433a89dd179fa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
$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
|