Skip to contentSkip to conversation

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

PATCH Arago Project git 1 participant 1 message Feb 21, 2012

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: master
Commit: d8fc4a686262c50fd0053afa7240020909ec430b
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=d8fc4a686262c50fd0053afa7240020909ec430b
Author: Peter A. Bigot <[email protected]>
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.

---

 recipes-ti/includes/ti-eula-unpack.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes-ti/includes/ti-eula-unpack.inc +1 -1
index 3b79c24..7c6e7b7 100644
@@ -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