From 0780f2f2b4bd515ebaca815ef6c3d2df4d5311c5 Mon Sep 17 00:00:00 2001 From: Anthony King Date: Thu, 30 Apr 2015 23:16:10 +0100 Subject: envsetup: cleanup the full list echo each one and stick it in columns. It was unreadable before Change-Id: I99c50595dcf35f0f03d5d3d6b01043ad8a8306d2 --- envsetup.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'envsetup.sh') diff --git a/envsetup.sh b/envsetup.sh index 58b38e3..9a49eb3 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -42,12 +42,9 @@ Environemnt options: Look at the source to view more functions. The complete list is: EOF T=$(gettop) - local A - A="" for i in `cat $T/build/envsetup.sh | sed -n "/^[ \t]*function /s/function \([a-z_]*\).*/\1/p" | sort | uniq`; do - A="$A $i" - done - echo $A + echo "$i" + done | column } # Get the value of a build variable as an absolute path. -- cgit v1.1