From: jbj Date: Wed, 27 Jan 1999 15:40:06 +0000 (+0000) Subject: Needed trailing / when expanding specdir. X-Git-Tag: rpm-4.4-release~3144 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=291f407baa5f6bbc5d35386ec0a1a88c18d32f3b;p=platform%2Fupstream%2Frpm.git Needed trailing / when expanding specdir. CVS patchset: 2766 CVS date: 1999/01/27 15:40:06 --- diff --git a/build.c b/build.c index f58f51f..0a426de 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));