mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-12-23 05:15:09 +02:00
gencat/libs.c (add_libdir): ignore files with a ~ in their name
This makes us skip the fped backups.
This commit is contained in:
parent
8562ad2204
commit
dd45ce8c5e
@ -95,6 +95,8 @@ void add_libdir(struct lib *lib, const char *path)
|
||||
de = readdir(dir);
|
||||
if (!de)
|
||||
break;
|
||||
if (strchr(de->d_name, '~'))
|
||||
continue;
|
||||
len = strlen(de->d_name);
|
||||
if (len < 4)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user