summaryrefslogtreecommitdiff
path: root/.zsh/zshenv
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-03-29 13:01:02 +0200
committerTobias Klauser <tklauser@distanz.ch>2021-03-29 13:01:02 +0200
commit54e5f8e0636cf64ab0c145b772096798822745d3 (patch)
tree201da1b927be6cd2fca98a093ab7f833f6e8ee67 /.zsh/zshenv
parent9fa1100c70567238a67da3acfbbb6d218305d0b2 (diff)
zshenv: don't export OEBASE if nonexistent
Diffstat (limited to '.zsh/zshenv')
-rw-r--r--.zsh/zshenv/80_openembedded2
1 files changed, 2 insertions, 0 deletions
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