[meta-ti] Peter A. Bigot : ti-eula-unpack: remove extraneous newline in cmd output

Arago Project git git at arago-project.org
Mon Feb 20 18:26:18 PST 2012


Module: meta-ti
Branch: master
Commit: d8fc4a686262c50fd0053afa7240020909ec430b
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=d8fc4a686262c50fd0053afa7240020909ec430b

Author: Peter A. Bigot <bigotp at acm.org>
Date:   Tue Jan 31 06:40:54 2012 -0600

ti-eula-unpack: remove extraneous newline in cmd output

print adds one already; to add another causes the input to be off and the
default installation directory to be used, at least on Fedora 15.

Signed-off-by: Peter A. Bigot <bigotp at acm.org>
Acked-by: Roger Monk <r-monk at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes-ti/includes/ti-eula-unpack.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes-ti/includes/ti-eula-unpack.inc b/recipes-ti/includes/ti-eula-unpack.inc
index 3b79c24..7c6e7b7 100644
--- a/recipes-ti/includes/ti-eula-unpack.inc
+++ b/recipes-ti/includes/ti-eula-unpack.inc
@@ -53,7 +53,7 @@ python ti_bin_do_unpack() {
             wdext = bb.data.getVar('TI_BIN_UNPK_WDEXT', localdata)
             wdext = bb.data.expand(wdext, localdata)
             cmd = workdir+wdext
-        print >>f, "%s\n" % cmd
+        print >>f, cmd
     f.close()
 
     # Expand the tarball that was created if required




More information about the meta-ti mailing list