You've already forked linuxdeploy
mirror of
https://github.com/encounter/linuxdeploy.git
synced 2026-03-30 11:18:58 -07:00
Fix directory check
This commit is contained in:
@@ -68,7 +68,7 @@ namespace linuxdeploy {
|
||||
|
||||
for (bf::directory_iterator i(dir); i != bf::directory_iterator(); ++i) {
|
||||
// must be a file, and not a directory
|
||||
if (!(bf::is_directory(bf::absolute(*i)))) {
|
||||
if (bf::is_directory(bf::absolute(*i))) {
|
||||
if (extendedDebugLoggingEnabled)
|
||||
ldLog() << LD_DEBUG << "Entry is a directory, skipping:" << i->path() << std::endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user