summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorroot <devnull@localhost>1996-09-23 13:40:09 +0000
committerroot <devnull@localhost>1996-09-23 13:40:09 +0000
commit8f8e860eaf6658c1735535e475860c105b4e9d0c (patch)
tree03c5d464d2a0c6151c3c6cb4ad4089d3382eee44 /build
parent0c077a34c9da9696dd9444950f45bf40229cfab4 (diff)
downloadrpm-8f8e860eaf6658c1735535e475860c105b4e9d0c.tar.gz
rpm-8f8e860eaf6658c1735535e475860c105b4e9d0c.tar.bz2
rpm-8f8e860eaf6658c1735535e475860c105b4e9d0c.zip
bug in handling nosource/nopatch
CVS patchset: 1036 CVS date: 1996/09/23 13:40:09
Diffstat (limited to 'build')
-rw-r--r--build/pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c
index 238c7f6bd..88742562a 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -651,7 +651,7 @@ int packageSource(Spec s, char *passPhrase)
if (skip[skipi] == source->num) {
break;
}
- skip--;
+ skipi--;
}
sprintf(src, "%s/%s", getVar(RPMVAR_SOURCEDIR), source->source);
sprintf(dest, "%s/%s", tempdir, source->source);