mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-26 02:40:54 +00:00
Fixed: Spaces in paths for patch under Linux and OS X
This commit is contained in:
parent
b85b3130f9
commit
f3fd8519a8
1 changed files with 4 additions and 4 deletions
|
@ -897,10 +897,10 @@ void CPatchManager::createBatchFile(CProductDescriptionForClient &descFile, bool
|
||||||
contentPrefix += "set SHARDID=%7\n";
|
contentPrefix += "set SHARDID=%7\n";
|
||||||
#else
|
#else
|
||||||
contentPrefix += "#!/bin/sh\n";
|
contentPrefix += "#!/bin/sh\n";
|
||||||
contentPrefix += "export RYZOM_CLIENT=$1\n";
|
contentPrefix += "export RYZOM_CLIENT=\"$1\"\n";
|
||||||
contentPrefix += "export UNPACKPATH=$2\n";
|
contentPrefix += "export UNPACKPATH=\"$2\"\n";
|
||||||
contentPrefix += "export ROOTPATH=$3\n";
|
contentPrefix += "export ROOTPATH=\"$3\"\n";
|
||||||
contentPrefix += "export STARTUPPATH=$4\n";
|
contentPrefix += "export STARTUPPATH=\"$4\"\n";
|
||||||
contentPrefix += toString("export UPGRADE_FILE=$ROOTPATH/%s\n", UpgradeBatchFilename.c_str());
|
contentPrefix += toString("export UPGRADE_FILE=$ROOTPATH/%s\n", UpgradeBatchFilename.c_str());
|
||||||
contentPrefix += "\n";
|
contentPrefix += "\n";
|
||||||
contentPrefix += "LOGIN=$5\n";
|
contentPrefix += "LOGIN=$5\n";
|
||||||
|
|
Loading…
Reference in a new issue