reduce_python: fix when popd (pkgconfig was't deleted)

This commit is contained in:
Mathieu Virbel 2011-12-06 18:06:34 +01:00
parent 0977b6325a
commit 3f8b91143d

View file

@ -4,10 +4,11 @@
echo "Starting reducing=========="
try pushd $BUILDROOT/python/lib/python2.7
try cd $BUILDROOT/python/lib/python2.7
find . -iname '*.pyc' | xargs rm
find . -iname '*.py' | xargs rm
find . -iname 'test_*' | xargs rm -rf
rm -rf *test* config lib* wsgiref bsddb curses idlelib hotshot || true
try popd
find . -iname 'test*' | xargs rm -rf
rm -rf *test* lib* wsgiref bsddb curses idlelib hotshot || true
rm -rf
try cd ..
rm -rf pkgconfig || true