# HG changeset patch # User HIROSE Yuuji # Date 1592021784 -32400 # Node ID 1f310d682c07d94add7a02091f501d9231a59189 # Parent f9702e2c65912eb5e278bb3d66c0ee2e58e8cd1c Treat dirname of path/of/url/ as itself diff -r f9702e2c6591 -r 1f310d682c07 s4-newworld.sh --- a/s4-newworld.sh Sat Jun 13 07:49:52 2020 +0900 +++ b/s4-newworld.sh Sat Jun 13 13:16:24 2020 +0900 @@ -57,7 +57,7 @@ }) cat<<-EOF > s4-config-$shortname.sh S4MASTERURL=\$URL - URL=`dirname $URL`/s4-world-$shortname$cgiext + URL=`dirname ${URL}.`/s4-world-$shortname$cgiext S4COLOR="$bgcolor" # Change this! DB=$dbdir/$shortname.sq3 SESSDB=$dbdir/sess.sq3