s4

changeset 777:1aa864ab9739 feature-world

Set $S4WORLDS correctly
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 11 Jun 2020 15:22:19 +0900
parents d773042e923d
children 3e6d36fa579d
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Thu Jun 11 10:39:51 2020 +0900
     1.2 +++ b/s4-funcs.sh	Thu Jun 11 15:22:19 2020 +0900
     1.3 @@ -127,11 +127,11 @@
     1.4        done
     1.5        if [ -s "$worldoptionfile" ]; then
     1.6  	echo "</table>$nl</div>" >> $worldlistfile
     1.7 -	S4WORLDS=": spaste(\`$worldlistfile')"
     1.8        else
     1.9  	true > $worldoptionfile; true > $worldlistfile	# Remove contents
    1.10        fi
    1.11      fi
    1.12 +    [ -s "$worldlistfile" ] && S4WORLDS=": spaste(\`$worldlistfile')"
    1.13      ;;
    1.14  esac
    1.15