diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2021-03-29 13:01:02 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2021-03-29 13:01:02 +0200 |
commit | 54e5f8e0636cf64ab0c145b772096798822745d3 (patch) | |
tree | 201da1b927be6cd2fca98a093ab7f833f6e8ee67 | |
parent | 9fa1100c70567238a67da3acfbbb6d218305d0b2 (diff) |
zshenv: don't export OEBASE if nonexistent
-rw-r--r-- | .zsh/zshenv/80_openembedded | 2 |
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 |