]> code.ossystems Code Review - openembedded-core.git/commit
Wrap output at 80 columns for poky-env-internal
authorDarren Hart <darren@dvhart.com>
Tue, 17 Aug 2010 03:14:49 +0000 (20:14 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 21 Sep 2010 22:38:00 +0000 (23:38 +0100)
commit1cf456611d1e14ab06d93da34ca8898fe3692a84
treec94f7cf1c06244d9c9c835dac4099645dfd4c68e
parentf342f3ba68d8cbd5b5b58129ba16324f280de6b1
Wrap output at 80 columns for poky-env-internal

The output of:

$ source poky-init-build-env

would wrap on 80 character terminals, making the output difficult to read.
Replace the somewhat clumsy repeated usage of "echo" with bash here documents,
limiting line length to 80 characters. The use of here documents simplifies this
by removing any leading commands or indentation from the output being generated.
A bash'ism should be acceptable here as poky-init-build-env already aborts if
the shell is not bash.

Signed-off-by: Darren Hart <darren@dvhart.com>
scripts/poky-env-internal