env: fix check for sourcing vs running zephyr-env.sh
File name had wrong extension. Change-Id: I9b8f57d21b2a497bf53e159a62dfee24a4c5de21 Reported-by: Rick Demers <richard.demers@windriver.com> Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
6bed1bd9d4
commit
d7b4bb6235
|
@ -1,5 +1,5 @@
|
|||
|
||||
if [ "X$(basename -- "$0")" == "Xzephyr-env.bash" ]; then
|
||||
if [ "X$(basename -- "$0")" == "Xzephyr-env.sh" ]; then
|
||||
echo "Source this file (do NOT execute it!) to set the Zephyr OS environment."
|
||||
exit
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue