diff --git a/Plugins/ServerPlugin.cpp b/Plugins/ServerPlugin.cpp index 2a7936433..397d2c6ce 100644 --- a/Plugins/ServerPlugin.cpp +++ b/Plugins/ServerPlugin.cpp @@ -264,7 +264,7 @@ ServerPlugin::ServerPlugin(MainWindow& mainWindow) : RGMPlugin(mainWindow) { qDebug().noquote() << "Environmental variable \"MSYS_ROOT\" is not set defaulting MSYS path to: " + msysPath; } else msysPath = env.value("MSYS_ROOT"); - env.insert("PATH", env.value("PATH") + msysPath + "/usr/bin;" + msysPath + "/mingw64/bin"); + env.insert("PATH", env.value("PATH") + ";" + msysPath + "/usr/bin;" + msysPath + "/mingw64/bin"); process->setProcessEnvironment(env); #endif