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 wrap: on
line diff
--- 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

yatex.org