Oops, no newline at end of filename please...
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 4 Apr 2008 14:00:38 +0000 (17:00 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 4 Apr 2008 14:00:38 +0000 (17:00 +0300)
build.c

diff --git a/build.c b/build.c
index 2899f58..2e9ab8c 100644 (file)
--- a/build.c
+++ b/build.c
@@ -208,7 +208,7 @@ static int buildForTarget(rpmts ts, const char * arg, BTA_t ba)
     if (*specFile != '/') {
        char *cwd = rpmGetCwd();
        char *s = NULL;
-       rasprintf(&s, "%s/%s\n", cwd, arg);
+       rasprintf(&s, "%s/%s", cwd, arg);
        free(specFile);
        specFile = s;
     }