summaryrefslogtreecommitdiff
path: root/build/parsePrep.c
diff options
context:
space:
mode:
authormarc <devnull@localhost>1998-02-05 14:35:56 +0000
committermarc <devnull@localhost>1998-02-05 14:35:56 +0000
commit76cee5d3ccbb4762950334d8236b809f5515e7a3 (patch)
tree020aa680ee7cafb0259805eccdea553450d8e2b2 /build/parsePrep.c
parent7394837eaf3ceb5122014967c467f74a94cca9eb (diff)
downloadrpm-76cee5d3ccbb4762950334d8236b809f5515e7a3.tar.gz
Fix problem with bzip2/gzip.
Fix problem with prefix/prefixes. CVS patchset: 1990 CVS date: 1998/02/05 14:35:56
Diffstat (limited to 'build/parsePrep.c')
-rw-r--r--build/parsePrep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c
index 6935b5292..12a403d14 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -268,7 +268,7 @@ static char *doUntar(Spec spec, int c, int quietly)
" exit $STATUS\n"
"fi",
(compressed == COMPRESSED_BZIP2) ?
- rpmGetVar(RPMVAR_GZIPBIN) : rpmGetVar(RPMVAR_BZIP2BIN),
+ rpmGetVar(RPMVAR_BZIP2BIN) : rpmGetVar(RPMVAR_GZIPBIN),
file, taropts);
} else {
sprintf(buf, "tar %s %s", taropts, file);
@@ -434,7 +434,7 @@ static char *doPatch(Spec spec, int c, int strip, char *db,
"fi",
c,
(compressed == COMPRESSED_BZIP2) ?
- rpmGetVar(RPMVAR_GZIPBIN) : rpmGetVar(RPMVAR_BZIP2BIN),
+ rpmGetVar(RPMVAR_BZIP2BIN) : rpmGetVar(RPMVAR_GZIPBIN),
file, strip, args);
} else {
sprintf(buf,