Skip to contentSkip to conversation

Revert "scripts/bitbake: ensure user is in build directory"

PATCH New Andreas Oberritter 1 participant 1 message Mar 15, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "scripts/bitbake: ensure user is in build directory"

This reverts commit b4df1c7c79b5c801658bcf890ba3a8eab3d83189, because it breaks setups where oe-core scripts aren't used, e.g. for a shared tmp directory.

See http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/019136.html

---
 scripts/bitbake |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
scripts/bitbake +0 -5
index 45c8697..dda3b26 100755
@@ -47,11 +47,6 @@ float_test() {
 # but earlier versions do not
 float_test "$TARVERSION > 1.23" && needtar="0"
 
-if [ "`pwd`" != "$BUILDDIR" ] ; then
-    echo "BitBake must be run from your build directory: $BUILDDIR"
-    exit 1
-fi
-
 buildpseudo="1"
 if [ $needpseudo = "1" ] && [ -e "$BUILDDIR/pseudodone" ]; then
     PSEUDOBINDIR=`cat $BUILDDIR/pseudodone`
Signature · 1 line
1.7.5.4