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

Commit ef7647f3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix: soong_ui.bash's wrong check for TOP variable"

parents 4e78fec2 e9793a7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ export TRACE_BEGIN_SOONG=$(date +%s%N)
function gettop
{
    local TOPFILE=build/soong/root.bp
    if [ -z "${TOP-}" -a -f "${TOP-}/${TOPFILE}" ] ; then
    if [ -n "${TOP-}" -a -f "${TOP-}/${TOPFILE}" ] ; then
        # The following circumlocution ensures we remove symlinks from TOP.
        (cd $TOP; PWD= /bin/pwd)
    else