mirror of https://github.com/KLayout/klayout.git
Fixed build.
This commit is contained in:
parent
51fca6be05
commit
06a1002e25
|
|
@ -201,10 +201,10 @@ SaltController::install_packages (const std::vector<std::string> &packages, bool
|
||||||
|
|
||||||
if (n.find ("http:") == 0 || n.find ("https:") == 0 || n.find ("file:") == 0 || n[0] == '/' || n[0] == '\\') {
|
if (n.find ("http:") == 0 || n.find ("https:") == 0 || n.find ("file:") == 0 || n[0] == '/' || n[0] == '\\') {
|
||||||
// it's a URL
|
// it's a URL
|
||||||
manager.register_download (std::string (), n, v);
|
manager.register_download (std::string (), std::string (), n, v);
|
||||||
} else {
|
} else {
|
||||||
// it's a plain name
|
// it's a plain name
|
||||||
manager.register_download (n, std::string (), v);
|
manager.register_download (n, std::string (), std::string (), v);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue