summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xoe-init-build-env5
1 files changed, 2 insertions, 3 deletions
diff --git a/oe-init-build-env b/oe-init-build-env
index 82382f27078..7fba5fd8827 100755
--- a/oe-init-build-env
+++ b/oe-init-build-env
@@ -26,9 +26,8 @@ else
exit 1
fi
fi
-if [ -n "$BBSERVER" ]; then
- unset BBSERVER
-fi
+
+unset BBSERVER
if [ -z "$ZSH_NAME" ] && [ "$0" = "$THIS_SCRIPT" ]; then
echo "Error: This script needs to be sourced. Please run as '. $THIS_SCRIPT'" >&2