diff options
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); |