Support "trunk" subdirectory for using official svntogit repos as source
This commit is contained in:
parent
0f7718c934
commit
567c3aaf56
|
@ -443,6 +443,8 @@ void PrepareBuild::fetchMissingBuildData()
|
|||
} else if (const auto pkgbuildPath = pkgbuildsDir % '/' % packageNameData.actualName % '/' % variant;
|
||||
filesystem::exists(pkgbuildPath + "/PKGBUILD")) {
|
||||
buildData.originalSourceDirectory = tupleToString(pkgbuildPath);
|
||||
} else if (const auto pkgbuildPath = pkgbuildsDir % '/' % packageName % "/trunk"; filesystem::exists(pkgbuildPath + "/PKGBUILD")) {
|
||||
buildData.originalSourceDirectory = tupleToString(pkgbuildPath);
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue