summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
authorAnthony King <anthonydking@slimroms.net>2015-04-30 23:16:10 +0100
committerAdnan Begovic <adnan@cyngn.com>2015-10-09 17:10:04 -0700
commit0780f2f2b4bd515ebaca815ef6c3d2df4d5311c5 (patch)
treef2952f542411a3cc9126b5c0990b6d2a7a02cf96 /envsetup.sh
parent850627c7fe8e838decc83522ad15bf320bdfe89b (diff)
downloadbuild-0780f2f2b4bd515ebaca815ef6c3d2df4d5311c5.zip
build-0780f2f2b4bd515ebaca815ef6c3d2df4d5311c5.tar.gz
build-0780f2f2b4bd515ebaca815ef6c3d2df4d5311c5.tar.bz2
envsetup: cleanup the full list
echo each one and stick it in columns. It was unreadable before Change-Id: I99c50595dcf35f0f03d5d3d6b01043ad8a8306d2
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh7
1 files changed, 2 insertions, 5 deletions
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.