projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9f16a5
)
Fixed md5 on source packages.
author
marc
<devnull@localhost>
Tue, 26 Aug 1997 16:36:30 +0000
(16:36 +0000)
committer
marc
<devnull@localhost>
Tue, 26 Aug 1997 16:36:30 +0000
(16:36 +0000)
CVS patchset: 1802
CVS date: 1997/08/26 16:36:30
build/files.c
patch
|
blob
|
history
diff --git
a/build/files.c
b/build/files.c
index
0e49eab
..
c7214f9
100644
(file)
--- a/
build/files.c
+++ b/
build/files.c
@@
-419,7
+419,8
@@
int process_filelist(Header header, struct PackageRec *pr,
fileGnameList[c] = fest->gname;
*size += fest->statbuf.st_size;
if (S_ISREG(fest->statbuf.st_mode)) {
- if (rpmGetVar(RPMVAR_ROOT)) {
+ if ((type == RPMLEAD_BINARY) &&
+ rpmGetVar(RPMVAR_ROOT)) {
sprintf(buf, "%s%s", rpmGetVar(RPMVAR_ROOT), fest->file);
} else {
strcpy(buf, fest->file);