This commit is contained in:
2023-11-20 21:09:46 -06:00
parent f448fd12c6
commit b30c0187d0

View File

@@ -128,14 +128,11 @@ update_mods_for_server() {
# 2545327648^dabsframework # 2545327648^dabsframework
# #
while read -r mod ; do while read -r mod ; do
echo "READ: $mod"
case "$mod" in case "$mod" in
\#*|''|' ') \#*|''|' ')
echo "BLANK: $mod"
;; ;;
*) *)
mod=${mod%%^*} mod=${mod%%^*}
echo "CONVERTED: $mod"
# check validity of syntax # check validity of syntax
if [ -z "$mod" ] ; then if [ -z "$mod" ] ; then
@@ -151,6 +148,11 @@ update_mods_for_server() {
done <"$mods_file" done <"$mods_file"
unset mod unset mod
echo
echo "tempfile:"
cat "$tempfile"
echo
# shellcheck disable=2046 # shellcheck disable=2046
steamcmd \ steamcmd \
-tcp \ -tcp \