commit | ef7647f3ea41888f0bc8751d255e2b537264cd5a | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon Jan 07 04:44:59 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Jan 07 04:44:59 2019 +0000 |
tree | d48d0f5800c5614ce007d1890276223d6b903ffd | |
parent | 4e78fec21efc4691ff674321a05724c1925ab42a [diff] | |
parent | e9793a7e820101f2786240f4b2a2e1d3e11af052 [diff] |
Merge "Fix: soong_ui.bash's wrong check for TOP variable"
diff --git a/soong_ui.bash b/soong_ui.bash index a39aa9c..c1c236b 100755 --- a/soong_ui.bash +++ b/soong_ui.bash
@@ -23,7 +23,7 @@ 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