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:
d45341c
)
Fix bug where the directory prefix is listed in the file list
author
marc
<devnull@localhost>
Thu, 6 Nov 1997 17:28:29 +0000
(17:28 +0000)
committer
marc
<devnull@localhost>
Thu, 6 Nov 1997 17:28:29 +0000
(17:28 +0000)
CVS patchset: 1895
CVS date: 1997/11/06 17:28:29
build/pack.c
patch
|
blob
|
history
diff --git
a/build/pack.c
b/build/pack.c
index
fc6c9ef
..
63a2a38
100644
(file)
--- a/
build/pack.c
+++ b/
build/pack.c
@@
-518,7
+518,10
@@
int packageBinaries(Spec s, char *passPhrase, int doPackage)
prefix, file);
return 1;
}
- file += prefixLen + 1; /* 1 for "/" */
+ file += prefixLen;
+ if (*file) {
+ file++; /* 1 for "/" */
+ }
}
if (! (*fflagarray & RPMFILE_GHOST)) {