ios: fix invalid grep -E

This commit is contained in:
Mathieu Virbel 2013-01-04 17:41:13 +01:00
parent a637a2b999
commit de4998be7f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ ios:
PATH="$(IOSPATH)" $(HOSTPYTHON) setup.py build_ext -g PATH="$(IOSPATH)" $(HOSTPYTHON) setup.py build_ext -g
PATH="$(IOSPATH)" $(HOSTPYTHON) setup.py install -O2 --root iosbuild PATH="$(IOSPATH)" $(HOSTPYTHON) setup.py install -O2 --root iosbuild
# Strip away the large stuff # Strip away the large stuff
find iosbuild/ | grep -E '*\.(py|pyc|so\.o|so\.a|so\.libs)$$' | xargs rm find iosbuild/ | grep -E '.*\.(py|pyc|so\.o|so\.a|so\.libs)$$' | xargs rm
-rm -rdf "$(BUILDROOT)/python/lib/python2.7/site-packages/kivy" -rm -rdf "$(BUILDROOT)/python/lib/python2.7/site-packages/kivy"
# Copy to python for iOS installation # Copy to python for iOS installation
cp -R "iosbuild/usr/local/lib/python2.7/site-packages/kivy" "$(BUILDROOT)/python/lib/python2.7/site-packages" cp -R "iosbuild/usr/local/lib/python2.7/site-packages/kivy" "$(BUILDROOT)/python/lib/python2.7/site-packages"