zephyr-env.sh: Fixed sourcing the project environment file from zsh

It will possible to source the project environment file from
both zsh and bash.

Change-Id: Ib6cbf4259378433bcf28a042898b69bb4b6b2a82
Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
Yannis Damigos 2016-02-25 12:13:14 +02:00 committed by Gerrit Code Review
parent 1aded0781c
commit 72d498c3a4

View file

@ -1,5 +1,5 @@
if [ "X$(basename -- "$0")" == "Xzephyr-env.sh" ]; then
if [ "X$(basename -z -- "$0")" "==" "Xzephyr-env.sh" ]; then
echo "Source this file (do NOT execute it!) to set the Zephyr Kernel environment."
exit
fi