summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-01-24 20:44:29 +0000
committerjbj <devnull@localhost>2000-01-24 20:44:29 +0000
commit3f679aa4d7633a9fa1529d8e1f715487d0a5b9f6 (patch)
treebf74bf5fa7e9dbdef0b7f6a590d11ce8c4c389a9 /build
parentdd35cf769bc4e3f46fd65c13bb2cccb64f074fcf (diff)
downloadrpm-3f679aa4d7633a9fa1529d8e1f715487d0a5b9f6.tar.gz
rpm-3f679aa4d7633a9fa1529d8e1f715487d0a5b9f6.tar.bz2
rpm-3f679aa4d7633a9fa1529d8e1f715487d0a5b9f6.zip
explicitly expand file lists in writeRPM for rpmputtext.
CVS patchset: 3534 CVS date: 2000/01/24 20:44:29
Diffstat (limited to 'build')
-rw-r--r--build/pack.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c
index 420129f4c..4c045d188 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -295,7 +295,10 @@ int writeRPM(Header h, const char *fileName, int type,
&csa->cpioArchiveSize, 1);
}
- if (!_noDirTokens) compressFilelist(h);
+ if (_noDirTokens)
+ expandFilelist(h);
+ else
+ compressFilelist(h);
/* Create and add the cookie */
if (cookie) {