Bugfix for envsetup.sh script. 13/4413/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sat, 5 Dec 2015 12:12:23 +0000 (13:12 +0100)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sat, 5 Dec 2015 18:21:30 +0000 (19:21 +0100)
commit6df1067fd87f68e67dad5cf5bd85acfea4a17abb
tree2c838660789d1e8bea5e20f269cf2638cfcf7ac3
parent0c85137679d6d2c9e9039545a2446b82210f8633
Bugfix for envsetup.sh script.

A sourced script cannot use exit as it will
terminate the shell session. "return -1"
is not supported due to the negative value.
Use "return 1" instead.

Change-Id: I7452b7939c5c843eaf76b6600e5eb55c06d17668
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
scripts/envsetup.sh