summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-01-27 15:40:06 +0000
committerjbj <devnull@localhost>1999-01-27 15:40:06 +0000
commit291f407baa5f6bbc5d35386ec0a1a88c18d32f3b (patch)
treed9df48f91de8f16f0b997fde6644371e0be064ec /build.c
parent1330d5fc27b289568764ac294b32437246eb66ed (diff)
downloadrpm-291f407baa5f6bbc5d35386ec0a1a88c18d32f3b.tar.gz
rpm-291f407baa5f6bbc5d35386ec0a1a88c18d32f3b.tar.bz2
rpm-291f407baa5f6bbc5d35386ec0a1a88c18d32f3b.zip
Needed trailing / when expanding specdir.
CVS patchset: 2766 CVS date: 1999/01/27 15:40:06
Diffstat (limited to 'build.c')
-rw-r--r--build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.c b/build.c
index f58f51f90..0a426de0f 100644
--- a/build.c
+++ b/build.c
@@ -35,7 +35,7 @@ static int buildForTarget(const char *arg, int buildAmount, const char *passPhra
{ char tfn[64];
strcpy(tfn, "rpm-spec.XXXXXX");
- tmpSpecFile = rpmGetPath("%{_specdir}", mktemp(tfn), NULL);
+ tmpSpecFile = rpmGetPath("%{_specdir}/", mktemp(tfn), NULL);
}
cmd = alloca(strlen(arg) + 50 + strlen(tmpSpecFile));