Mercurial > hgrepos > hgweb.cgi > s4
comparison s4-start.sh @ 1028:6e24f1ecf13e draft
Workaround for GNU system
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 22 Dec 2023 20:01:32 +0900 |
parents | 0ac251f04f21 |
children | 8c7d168d27ed |
comparison
equal
deleted
inserted
replaced
1027:f389a311a8d4 | 1028:6e24f1ecf13e |
---|---|
61 echo "Script(s4-funcs.sh) not found in \`$mydir'." 1>&2 | 61 echo "Script(s4-funcs.sh) not found in \`$mydir'." 1>&2 |
62 exit 1 | 62 exit 1 |
63 fi | 63 fi |
64 | 64 |
65 test -d tmp || mkdir -m 1750 tmp | 65 test -d tmp || mkdir -m 1750 tmp |
66 test -d cache || mkdir -m 1755 cache | |
66 . ./s4-funcs.sh | 67 . ./s4-funcs.sh |
67 if ! checkdomain $ADMIN; then | 68 if ! checkdomain $ADMIN; then |
68 cat<<EOF 1>&2 | 69 cat<<EOF 1>&2 |
69 Administrator's email - $ADMIN - is invalid(host not found). | 70 Administrator's email - $ADMIN - is invalid(host not found). |
70 Please specify existing email address. | 71 Please specify existing email address. |