From 23d1d0f45827334107c3539b6c58a184da2bf2af Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 31 Oct 2016 18:58:49 +0100 Subject: [PATCH] Fixed: Spaces in paths for patch under Linux and OS X --HG-- branch : develop --- code/ryzom/client/src/login_patch.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/ryzom/client/src/login_patch.cpp b/code/ryzom/client/src/login_patch.cpp index af73613d1..2b2a227d6 100644 --- a/code/ryzom/client/src/login_patch.cpp +++ b/code/ryzom/client/src/login_patch.cpp @@ -897,10 +897,10 @@ void CPatchManager::createBatchFile(CProductDescriptionForClient &descFile, bool contentPrefix += "set SHARDID=%7\n"; #else contentPrefix += "#!/bin/sh\n"; - contentPrefix += "export RYZOM_CLIENT=$1\n"; - contentPrefix += "export UNPACKPATH=$2\n"; - contentPrefix += "export ROOTPATH=$3\n"; - contentPrefix += "export STARTUPPATH=$4\n"; + contentPrefix += "export RYZOM_CLIENT=\"$1\"\n"; + contentPrefix += "export UNPACKPATH=\"$2\"\n"; + contentPrefix += "export ROOTPATH=\"$3\"\n"; + contentPrefix += "export STARTUPPATH=\"$4\"\n"; contentPrefix += toString("export UPGRADE_FILE=$ROOTPATH/%s\n", UpgradeBatchFilename.c_str()); contentPrefix += "\n"; contentPrefix += "LOGIN=$5\n";