Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit f89c0b56 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Akonaditest: Fix testenv script on Windows

parent 1a3257f4
......@@ -32,10 +32,10 @@ void ShellScript::writeEnvironmentVariables()
for (const auto &envvar : qAsConst(mEnvVars)) {
#ifdef Q_OS_WIN
const auto tmpl = QStringLiteral("$_old_%1=$%1\r\n"
const auto tmpl = QStringLiteral("$env:_old_%1=$env:%1\r\n"
const auto tmpl = QStringLiteral("_old_%1=$%1\n"
const auto tmpl = QStringLiteral("$_old_%1=$%1\n"
"export %1\n");
......@@ -58,7 +58,7 @@ void ShellScript::writeShutdownFunction()
" qdbus %1 %2 %3\r\n"
const auto restoreTmpl = QStringLiteral(" $%1=$_old_%1\r\n");
const auto restoreTmpl = QStringLiteral(" $env:%1=$env:_old_%1\r\n");
const auto tmpl = QStringLiteral("function shutdown-testenvironment()\n"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment