s4
changeset 526:f86b316d7da7
Compile pwrap.c anyway
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sat, 06 Apr 2019 18:13:25 +0900 |
parents | dd7bedb6a83c |
children | f9259379ee24 |
files | s4-start.sh |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-start.sh Sat Apr 06 18:08:05 2019 +0900 1.2 +++ b/s4-start.sh Sat Apr 06 18:13:25 2019 +0900 1.3 @@ -94,13 +94,14 @@ 1.4 mv -f index.cgi s4.cgi 1.5 fi 1.6 (echo "ADMIN=$ADMIN" 1.7 + echo "S4TYPE=$TYPE" 1.8 [ "$guest" ] && echo "guestonlymode=1") >> s4-config.sh 1.9 sq $db "REPLACE INTO user VALUES('$ADMIN');" 1.10 cat > .htaccess <<-EOF 1.11 DirectoryIndex index.cgi 1.12 AddHandler cgi-script .cgi 1.13 EOF 1.14 - if [ -n "$wrap" -a pwrap.c -nt index.cgi ]; then 1.15 + if [ -n "$wrap" ]; then 1.16 ${CC:-gcc} -o index.cgi pwrap.c \ 1.17 && chmod u+s index.cgi \ 1.18 && rc=0