do not copy index.xml
All checks were successful
pyrite-dev/taiga/pipeline/head This commit looks good
All checks were successful
pyrite-dev/taiga/pipeline/head This commit looks good
This commit is contained in:
parent
2a1d634f23
commit
7e561c490e
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ static int scan(const char* top, int mode, const char* path) {
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
} else if(!mode) {
|
} else if(!mode && strcmp(d->d_name, "index.xml") != 0) {
|
||||||
char* po = u_strvacat(out, d->d_name, NULL);
|
char* po = u_strvacat(out, d->d_name, NULL);
|
||||||
FILE* fin = fopen(p, "rb");
|
FILE* fin = fopen(p, "rb");
|
||||||
FILE* fout = fopen(po, "wb");
|
FILE* fout = fopen(po, "wb");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue