forked from qt-creator/qt-creator
qbs build: Fix pluginjson module
The "product" qualification was missing for "sourceDirectory". This currently happens to work due to scope pollution in the qbs implementation. Change-Id: I61758023d39d00505c586c1e5ad78185a69c0db1 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -19,7 +19,7 @@ Module {
|
||||
// TODO: Could something like this be incorporated into the vcs module?
|
||||
// Currently, the default repo dir is project.sourceDirectory, which
|
||||
// does not make sense for Qt Creator.
|
||||
var dir = sourceDirectory;
|
||||
var dir = product.sourceDirectory;
|
||||
while (true) {
|
||||
if (File.exists(FileInfo.joinPaths(dir, ".git")))
|
||||
return dir;
|
||||
|
Reference in New Issue
Block a user