do not auto-add install dir to index dirs
the install dir may contain indexes from previous builds. a build must never refer to previous builds. Change-Id: I67c04df8f3f82bdbebb67e280f70795ed0a76ccf Reviewed-by: Topi Reiniö <topi.reinio@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
a763500a61
commit
939d021813
@ -224,8 +224,7 @@ static void loadIndexFiles(Config& config)
|
||||
}
|
||||
}
|
||||
else {
|
||||
qDebug() << "Dependant modules specified, but no index directories or "
|
||||
<< "install directory were set."
|
||||
qDebug() << "Dependent modules specified, but no index directories were set."
|
||||
<< "There will probably be errors for missing links.";
|
||||
}
|
||||
}
|
||||
@ -618,7 +617,6 @@ int main(int argc, char **argv)
|
||||
}
|
||||
else if (opt == "-installdir") {
|
||||
Config::installDir = argv[i];
|
||||
indexDirs += argv[i];
|
||||
i++;
|
||||
}
|
||||
else if (opt == "-obsoletelinks") {
|
||||
|
Loading…
Reference in New Issue
Block a user