Commit 12e94729 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

unbreak $$system() in bootstrapped mode



Change-Id: I43eb4a7a94b6df3d964b7bfd1747f953f436ba10
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 43aa104e
......@@ -352,7 +352,7 @@ QByteArray QMakeEvaluator::getCommandOutput(const QString &args) const
QByteArray out;
if (FILE *proc = QT_POPEN(QString(QLatin1String("cd ")
+ IoUtils::shellQuote(currentDirectory())
+ QLatin1String(" && ") + args[0]).toLocal8Bit().constData(), "r")) {
+ QLatin1String(" && ") + args).toLocal8Bit().constData(), "r")) {
while (!feof(proc)) {
char buff[10 * 1024];
int read_in = int(fread(buff, 1, sizeof(buff), proc));
......
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