Skip to content
Snippets Groups Projects
Commit e78ff6ba authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Symbian: Use clean pathes when setting up PATH

parent f01f30a0
No related branches found
No related tags found
No related merge requests found
......@@ -554,10 +554,12 @@ void S60ToolChainMixin::addEpocToEnvironment(Utils::Environment *env) const
if (epocDir.exists(QLatin1String("epoc32/gcc/bin")))
env->prependOrSetPath(epocDir.filePath(QLatin1String("epoc32/gcc/bin"))); // e.g. cpp.exe, *NOT* gcc.exe
// Find perl in the special Symbian flavour:
if (epocDir.exists(QLatin1String("../../tools/perl/bin")))
env->prependOrSetPath(epocDir.filePath(QLatin1String("../../tools/perl/bin")));
else
if (epocDir.exists(QLatin1String("../../tools/perl/bin"))) {
epocDir.cd(QLatin1String("../../tools/perl/bin"));
env->prependOrSetPath(epocDir.absolutePath());
} else {
env->prependOrSetPath(epocDir.filePath(QLatin1String("perl/bin")));
}
addBaseToEnvironment(env);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment