This commit is contained in:
mitch committed 2023-11-20 21:11:08 -06:00
1 parent 920b7da772
commit 857e163763
1 file changed
+3 -5
+3 -5
View File
@@ -136,13 +136,11 @@ update_mods_for_server() {
# check validity of syntax # check validity of syntax
if [ -z "$mod" ] ; then if [ -z "$mod" ] ; then
echo hi
die "mod for $map_name appears to be empty - syntax error" die "mod for $map_name appears to be empty - syntax error"
fi fi
if ! isnum "$mod" ; then # if ! isnum "$mod" ; then
echo no # die "mod $mod for $map_name does not appear to be a number"
die "mod $mod for $map_name does not appear to be a number" # fi
fi
printf "%s\n" "$mod" >> "$tempfile" printf "%s\n" "$mod" >> "$tempfile"
mkdir -p "$LOCAL_STOCK_MODS/$mod" mkdir -p "$LOCAL_STOCK_MODS/$mod"