From 6cb823b4844d66a1498b1c3945b25aea6aaade0f Mon Sep 17 00:00:00 2001 From: Lubos Dolezel Date: Wed, 3 Feb 2016 19:19:49 +0100 Subject: [PATCH] Fix running scripts --- src/pkg/Installer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/Installer.cpp b/src/pkg/Installer.cpp index 69ec81c..807828d 100644 --- a/src/pkg/Installer.cpp +++ b/src/pkg/Installer.cpp @@ -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); }