From bcd4707c6ca50ea77b10ee76406196302befff7a Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 8 May 2016 21:39:04 +1000 Subject: [PATCH] If BUILDME is run from docs, move to the base directory --- docs/BUILDME | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/BUILDME b/docs/BUILDME index a3c629537..e7daeb8a1 100644 --- a/docs/BUILDME +++ b/docs/BUILDME @@ -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