CVS patchset: 1090
CVS date: 1996/10/15 02:23:03
int toCpio[2];
int fromCpio[2];
int toGzip[2];
+ char * cpiobin;
int writeBytesLeft, bytesWritten;
int status;
void *oldhandler;
+ cpiobin = getVar(RPMVAR_CPIOBIN);
+ if (!cpiobin) cpiobin = "cpio";
+
*archiveSize = 0;
pipe(toCpio);
}
}
- execlp("cpio", "cpio",
+ execlp(cpiobin, cpiobin,
(isVerbose()) ? "-ov" : "-o",
(tempdir) ? "-LH" : "-H",
"crc", NULL);