mirror of
https://github.com/darlinghq/darling-installer.git
synced 2024-11-23 11:39:45 +00:00
Fix running scripts
This commit is contained in:
parent
e9087a1b85
commit
6cb823b484
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user