mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-14 03:09:04 +00:00
Fixed: Spaces in paths for patch under Linux and OS X
This commit is contained in:
parent
9ce9d9c388
commit
ca9baf5e4c
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