terminal.py: Fix Xfce on ubuntu/debian; some cleanup
authorJeffrey C Honig <jeffrey.honig@windriver.com>
Tue, 17 Jul 2012 04:03:59 +0000 (00:03 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jul 2012 13:29:29 +0000 (14:29 +0100)
commit3fee9168d0a2b274b2d760e827915c34efff2d30
tree7a8977d037c337d430d44d5aace378326de97300
parent7b0206e62bed7ead68f958c81fbb09098865a4ad
terminal.py: Fix Xfce on ubuntu/debian; some cleanup

    * Xfce class was setting and passing wrong variable for ubuntu/debian.
    * Xfce class was using -e instead of -x for passing command.  The former creates
      a shell escape nightmare
    * Clean up local and instance/class variables with same name but different usage.
    * Remove side-effect and directly return formatted command for clarity.

(From OE-Core rev: b2ee5c5e34cdc3d65ca7b5da3486360a74d6c500)

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/terminal.py