Scripts: Quote path variables
This commit is contained in:
committed by
Matthias Mailänder
parent
bb2ee37cc0
commit
ea02b90636
@@ -7,7 +7,7 @@
|
||||
# Read the file to see which settings you can override
|
||||
|
||||
ENGINEDIR=$(dirname "$0")
|
||||
if command -v mono >/dev/null 2>&1 && [ "$(grep -c .NETCoreApp,Version= ${ENGINEDIR}/bin/OpenRA.Server.dll)" = "0" ]; then
|
||||
if command -v mono >/dev/null 2>&1 && [ "$(grep -c .NETCoreApp,Version= "${ENGINEDIR}/bin/OpenRA.Server.dll")" = "0" ]; then
|
||||
RUNTIME_LAUNCHER="mono --debug"
|
||||
else
|
||||
RUNTIME_LAUNCHER="dotnet"
|
||||
@@ -35,7 +35,7 @@ JoinChatDelay="${JoinChatDelay:-"5000"}"
|
||||
SupportDir="${SupportDir:-""}"
|
||||
|
||||
while true; do
|
||||
${RUNTIME_LAUNCHER} ${ENGINEDIR}/bin/OpenRA.Server.dll Engine.EngineDir=".." Game.Mod="$Mod" \
|
||||
${RUNTIME_LAUNCHER} "${ENGINEDIR}/bin/OpenRA.Server.dll" Engine.EngineDir=".." Game.Mod="$Mod" \
|
||||
Server.Name="$Name" \
|
||||
Server.ListenPort="$ListenPort" \
|
||||
Server.AdvertiseOnline="$AdvertiseOnline" \
|
||||
|
||||
Reference in New Issue
Block a user