From 54e5f8e0636cf64ab0c145b772096798822745d3 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 29 Mar 2021 13:01:02 +0200 Subject: zshenv: don't export OEBASE if nonexistent --- .zsh/zshenv/80_openembedded | 2 ++ 1 file changed, 2 insertions(+) (limited to '.zsh/zshenv/80_openembedded') diff --git a/.zsh/zshenv/80_openembedded b/.zsh/zshenv/80_openembedded index 0cda09e..6ffb55e 100644 --- a/.zsh/zshenv/80_openembedded +++ b/.zsh/zshenv/80_openembedded @@ -13,6 +13,8 @@ if [ -d $OEBASE ] ; then path_append $OEBASE/bitbake/bin export BBPATH=$OEBASE/build:$OEBASE/openembedded export BB_ENV_EXTRAWHITE="OEBASE" +else + unset OEBASE fi # vim:ft=zsh -- cgit v1.2.3-54-g00ecf