diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-02-22 13:57:05 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-02-22 13:57:05 +0200 |
commit | 77e203bf3224293d8f8e01dd15d6262eed840cf9 (patch) | |
tree | ddddccac0f22e2cc7f7f6a625962a322ff83ea99 /src/io.c | |
parent | d6337468928b1a11091712351e9c85c2d6603c46 (diff) | |
download | apk-tools-77e203bf3224293d8f8e01dd15d6262eed840cf9.tar.gz apk-tools-77e203bf3224293d8f8e01dd15d6262eed840cf9.tar.bz2 apk-tools-77e203bf3224293d8f8e01dd15d6262eed840cf9.tar.xz apk-tools-77e203bf3224293d8f8e01dd15d6262eed840cf9.zip |
db, io: load repositories also from etc/apk/repositories.d/*.list
Load additional repositories from $ROOT/etc/apk/repositories.d/*.list
unless --repositories-file is given as parameter.
Diffstat (limited to 'src/io.c')
-rw-r--r-- | src/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -562,7 +562,7 @@ int apk_dir_foreach_file(int dirfd, apk_dir_file_cb cb, void *ctx) while ((de = readdir(dir)) != NULL) { if (de->d_name[0] == '.') continue; - cb(ctx, de->d_name); + cb(ctx, dirfd, de->d_name); } closedir(dir); |