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>
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)