Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55ad5e9e authored by Anthony King's avatar Anthony King Committed by Ethan Chen
Browse files

envsetup: cleanup the full list

echo each one and stick it in columns. It was unreadable before

Change-Id: I99c50595dcf35f0f03d5d3d6b01043ad8a8306d2
parent 6aef1fad
Loading
Loading
Loading
Loading
+2 −5
Original line number Original line Diff line number Diff line
@@ -35,12 +35,9 @@ Invoke ". build/envsetup.sh" from your shell to add the following functions to y
Look at the source to view more functions. The complete list is:
Look at the source to view more functions. The complete list is:
EOF
EOF
    T=$(gettop)
    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
    for i in `cat $T/build/envsetup.sh | sed -n "/^[ \t]*function /s/function \([a-z_]*\).*/\1/p" | sort | uniq`; do
      A="$A $i"
      echo "$i"
    done
    done | column
    echo $A
}
}


# Get the value of a build variable as an absolute path.
# Get the value of a build variable as an absolute path.