diff --git a/zephyr-env.sh b/zephyr-env.sh index ec24450fe24e60..62188d7232558c 100644 --- a/zephyr-env.sh +++ b/zephyr-env.sh @@ -15,7 +15,7 @@ export ZEPHYR_BASE=$( builtin cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ${MIN scripts_path=${ZEPHYR_BASE}/scripts echo "${PATH}" | grep -q "${scripts_path}" -[ $? != 0 ] && export PATH=${scripts_path}:${PATH} +[ $? != 0 ] && export PATH=${PATH}:${scripts_path} unset scripts_path # enable custom environment settings