X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fcreate_dep_tar.c;h=78bdea6c9031f833cc4da09f1b518a18956a288a;hp=74fdb5692461a3976b799ab1797b67d9ccd6dfe4;hb=8aeb80ab049612adefeafea65aaa038591200944;hpb=cc1e3419b6c5e4abf1b99b0094bc3e134356525e;ds=sidebyside diff --git a/tools/create_dep_tar.c b/tools/create_dep_tar.c index 74fdb569..78bdea6c 100644 --- a/tools/create_dep_tar.c +++ b/tools/create_dep_tar.c @@ -53,7 +53,7 @@ create_tar(char **deps, const char *dir, const char *targetdir) if (deps != NULL) { cmd_args = strjoin(NULL, deps, " "); - cmd = talloc_asprintf(NULL, TAR_CMD "%s/%s_dependencies.tar %s %s", targetdir, module, cmd_args, dir); + cmd = talloc_asprintf(NULL, TAR_CMD "%s/%s_with_deps.tar %s %s", targetdir, module, cmd_args, dir); } else cmd = talloc_asprintf(NULL, TAR_CMD "%s/%s.tar %s", targetdir, module, dir); @@ -61,7 +61,7 @@ create_tar(char **deps, const char *dir, const char *targetdir) if (!p) err(1, "Executing '%s'", cmd); - buffer = grab_fd(NULL, fileno(p)); + buffer = grab_fd(NULL, fileno(p), NULL); if (!buffer) err(1, "Reading from '%s'", cmd); pclose(p);