Skip to content

Commit

Permalink
Allow to set env per repo for everykind of repo
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Feb 25, 2017
1 parent 841617e commit fda534c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libpkg/fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,9 @@ pkg_fetch_file_to_fd(struct pkg_repo *repo, const char *url, int dest,

url += strlen(URL_SCHEME_PREFIX);
pkg_url_scheme = true;
}

if (repo != NULL) {
LL_FOREACH(repo->env, kv) {
kvtmp = xcalloc(1, sizeof(*kvtmp));
kvtmp->key = xstrdup(kv->key);
Expand Down

0 comments on commit fda534c

Please sign in to comment.