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:
Benjamin Walsh 2015-06-17 14:07:32 -04:00 committed by Anas Nashif
parent 6bed1bd9d4
commit d7b4bb6235

View file

@ -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