Fix running scripts

This commit is contained in:
Lubos Dolezel 2016-02-03 19:19:49 +01:00
parent e9087a1b85
commit 6cb823b484

View File

@ -276,7 +276,7 @@ void Installer::runInstallStepScript(const char* scriptName)
if (!script.empty())
{
exitCode = runScript(scriptName, m_scriptsDir.c_str(), m_installLocation.c_str());
exitCode = runScript(script.c_str(), m_scriptsDir.c_str(), m_installLocation.c_str());
if (exitCode != 0)
throwScriptExitCode(exitCode);
}