Needed trailing / when expanding specdir.
authorjbj <devnull@localhost>
Wed, 27 Jan 1999 15:40:06 +0000 (15:40 +0000)
committerjbj <devnull@localhost>
Wed, 27 Jan 1999 15:40:06 +0000 (15:40 +0000)
CVS patchset: 2766
CVS date: 1999/01/27 15:40:06

build.c

diff --git a/build.c b/build.c
index f58f51f..0a426de 100644 (file)
--- 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));