B2G bustage fix for bug 661908 - clear PYTHONDONTWRITEBYTECODE, r=ted
authorMichael Wu <mwu@mozilla.com>
Thu, 24 May 2012 16:47:25 -0400
changeset 96381 eca8e2875ef5ce3f2c54b859c68dcdb578c4fc81
parent 96380 3656a0a559b241589ba15e73230017fc5232c370
child 96382 4651104e0d0e405f5263b21c41e78a0620dfc051
push idunknown
push userunknown
push dateunknown
reviewersted
bugs661908
milestone15.0a1
B2G bustage fix for bug 661908 - clear PYTHONDONTWRITEBYTECODE, r=ted
configure.in
--- a/configure.in
+++ b/configure.in
@@ -8962,17 +8962,17 @@ MOZ_DEFINES=$DEFS
 AC_SUBST(MOZ_DEFINES)
 rm -f confdefs.h
 mv confdefs.h.save confdefs.h
 
 dnl Create a virtualenv where we can install local Python packages
 AC_MSG_RESULT([Creating Python virtualenv])
 rm -rf _virtualenv
 mkdir -p _virtualenv
-$PYTHON $_topsrcdir/other-licenses/virtualenv/virtualenv.py ./_virtualenv
+PYTHONDONTWRITEBYTECODE= $PYTHON $_topsrcdir/other-licenses/virtualenv/virtualenv.py ./_virtualenv
 case "$host_os" in
 mingw*)
     PYTHON=`pwd`/_virtualenv/Scripts/python.exe
     ;;
 *)
     PYTHON=`pwd`/_virtualenv/bin/python
     ;;
 esac