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:
8a9e1e3
)
Use the right variable for absolute path (ticket #137)
author
Aron Griffis
<agriffis@gentoo.org>
Wed, 6 Oct 2010 07:55:09 +0000
(10:55 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 6 Oct 2010 07:55:09 +0000
(10:55 +0300)
- Fix the problem where rpm attempts to use the tarball as the specfile
rpmbuild.c
patch
|
blob
|
history
diff --git
a/rpmbuild.c
b/rpmbuild.c
index
ad62a13
..
856798a
100644
(file)
--- a/
rpmbuild.c
+++ b/
rpmbuild.c
@@
-406,7
+406,7
@@
static int buildForTarget(rpmts ts, const char * arg, BTA_t ba)
if (*specFile != '/') {
char *cwd = rpmGetCwd();
char *s = NULL;
- rasprintf(&s, "%s/%s", cwd,
arg
);
+ rasprintf(&s, "%s/%s", cwd,
specFile
);
free(cwd);
free(specFile);
specFile = s;