If BUILDME is run from docs, move to the base directory

This commit is contained in:
Andrew Murray 2016-05-08 21:39:04 +10:00
parent f992192799
commit bcd4707c6c

View File

@ -2,6 +2,10 @@
# quick build (for lazy programmers). for more information on the
# build process, see the README file.
if [ ${PWD##*/} == "docs" ]; then
cd ..
fi
if [ "$1" = "clean" ]; then
python setup.py clean
rm -f *.so PIL/*.so