aboutsummaryrefslogtreecommitdiff
path: root/envsetup.sh
diff options
context:
space:
mode:
authorLaMont Jones <lamontjones@google.com>2022-12-07 21:55:58 +0000
committerLaMont Jones <lamontjones@google.com>2022-12-07 21:55:58 +0000
commit51670eb2634a8000a03d1d914b169ee5a70d717d (patch)
tree7ad0efa781f03f5d047542b1e14ad3918c692233 /envsetup.sh
parentb4b87601444e174daedf91fc5b2c8c53006ed639 (diff)
multitree_lunch: remove extraneous call
If the shell is set to exit on errors, the extraneous (incorrect syntax) call to lunch.py causes an early exit. Change-Id: I0176d5c9e7e42640514fd4988d82fbfdd825631d
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/envsetup.sh b/envsetup.sh
index 51a1187952..49908003cf 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -444,9 +444,7 @@ function multitree_lunch()
# Lunch must be run in the topdir, but this way we get a clear error
# message, instead of FileNotFound.
local T=$(multitree_gettop)
- if [ -n "$T" ]; then
- "$T/orchestrator/build/orchestrator/core/lunch.py" "$@"
- else
+ if [ -z "$T" ]; then
_multitree_lunch_error
return 1
fi