diff options
author | Francois Pons <fpons@mandriva.com> | 2000-08-24 16:04:57 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-08-24 16:04:57 +0000 |
commit | 13fba0876be873368a049786451a1d5e9c0b4594 (patch) | |
tree | f39424c2322ae092c3fc82416f527062edfdc083 /gendepslist2.cc | |
parent | e303cd59afd2ff3770470d02587c52d3bbf2e02a (diff) | |
download | rpmtools-13fba0876be873368a049786451a1d5e9c0b4594.tar rpmtools-13fba0876be873368a049786451a1d5e9c0b4594.tar.gz rpmtools-13fba0876be873368a049786451a1d5e9c0b4594.tar.bz2 rpmtools-13fba0876be873368a049786451a1d5e9c0b4594.tar.xz rpmtools-13fba0876be873368a049786451a1d5e9c0b4594.zip |
*** empty log message ***
Diffstat (limited to 'gendepslist2.cc')
-rw-r--r-- | gendepslist2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gendepslist2.cc b/gendepslist2.cc index 810400c..3b71259 100644 --- a/gendepslist2.cc +++ b/gendepslist2.cc @@ -373,7 +373,7 @@ void printDepslist(ofstream *out1, ofstream *out2) { void hdlists(void (*f)(FD_t, int), const char *file, int current_hdlist) { bool isfile = strlen(file) > 4 && strncmp(file + strlen(file) - 4, ".rpm", 4) == 0; - string cmd = isfile ? "rpm2header " : "bzip2 -d <"; + string cmd = isfile ? "rpm2header " : "packdrake -c "; FILE *pipe = popen((cmd + file + " 2>/dev/null").c_str(), "r"); f(fdDup(fileno(pipe)), current_hdlist); |