From a7d36297c2e20537ade9621f7dc22f478a722182 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 13 Aug 2012 12:37:23 +0000 Subject: [PATCH] Prevent run_2to3 from copying locale/ to py3k/ instead of py3k/locale/ (thanks Cravix). --- sandbox/run_2to3.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sandbox/run_2to3.sh b/sandbox/run_2to3.sh index 172d7690c..abd373f86 100755 --- a/sandbox/run_2to3.sh +++ b/sandbox/run_2to3.sh @@ -1,4 +1,6 @@ rm -f src/version.py # Prevent 2to3 from copying it, since py3k/src/version.py was probably written by root. +rm -rf py3k +mkdir py3k cp locale/ py3k/ -R cp plugins/ py3k/ -R # copy plugins data python 2to3/run.py src/ plugins/ test/ scripts/* setup.py -wWno py3k -f all -f def_iteritems -f def_itervalues -f def_iterkeys -f reload "$@"