summaryrefslogtreecommitdiff
path: root/build/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/pack.c')
-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) {