mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-04-12 21:25:04 -05:00
Properly handle nonexisting files
This commit is contained in:
@@ -332,6 +332,10 @@ namespace linuxdeploy {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!bf::exists(path)) {
|
||||
ldLog() << LD_ERROR << logPrefix << LD_NO_SPACE << "Cannot deploy non-existing library file:" << path << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
static auto isInExcludelist = [&logPrefix](const bf::path& fileName) {
|
||||
for (const auto& excludePattern : generatedExcludelist) {
|
||||
|
||||
Reference in New Issue
Block a user