Add "\n" at the beginning of "CopyLinkedPackages: yes". 48/83048/1
authorJunghyun Kim <jh0822.kim@samsung.com>
Tue, 9 Aug 2016 02:03:01 +0000 (11:03 +0900)
committerJunghyun Kim <jh0822.kim@samsung.com>
Tue, 9 Aug 2016 02:03:01 +0000 (11:03 +0900)
If "Rpmbuildstage: bb" does not have "\n" at the end of the string,
this could be possible "Rpmbuildstage: bbCopyLinkedPackages: yes".
Hence, just insert "\n" at the beginning.

Change-Id: I06fe5dba92c33c67b1f090503fd9d80a515e8765
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
job_submit.py

index 4eb3df7..3c9a2e8 100755 (executable)
@@ -307,7 +307,7 @@ def change_release_name(build, project, git_tag):
                 config = config + '#Add RpmbuildStage option into prjconf\n' + '%s\n' % (rpmbuildstage)
 
     # Add "CopyLinkedPackages: yes" for prerelease projects.
-    config = config + "CopyLinkedPackages: yes\n";
+    config = config + "\nCopyLinkedPackages: yes\n";
 
     # set project config
     build.set_project_config(project, config)