s4

changeset 785:1f310d682c07 feature-world

Treat dirname of path/of/url/ as itself
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 13 Jun 2020 13:16:24 +0900
parents f9702e2c6591
children 809caeb20758
files s4-newworld.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-newworld.sh	Sat Jun 13 07:49:52 2020 +0900
     1.2 +++ b/s4-newworld.sh	Sat Jun 13 13:16:24 2020 +0900
     1.3 @@ -57,7 +57,7 @@
     1.4    })
     1.5  cat<<-EOF > s4-config-$shortname.sh
     1.6  	S4MASTERURL=\$URL
     1.7 -	URL=`dirname $URL`/s4-world-$shortname$cgiext
     1.8 +	URL=`dirname ${URL}.`/s4-world-$shortname$cgiext
     1.9  	S4COLOR="$bgcolor"			# Change this!
    1.10  	DB=$dbdir/$shortname.sq3
    1.11  	SESSDB=$dbdir/sess.sq3