From bcd4707c6ca50ea77b10ee76406196302befff7a Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 8 May 2016 21:39:04 +1000 Subject: [PATCH 1/2] 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 From a4878b99fd8698087c1bf16a16220d4a8d420b81 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 8 May 2016 21:41:59 +1000 Subject: [PATCH 2/2] Added executable permissions and shebang line to BUILDME --- docs/BUILDME | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 docs/BUILDME diff --git a/docs/BUILDME b/docs/BUILDME old mode 100644 new mode 100755 index e7daeb8a1..1505dc167 --- a/docs/BUILDME +++ b/docs/BUILDME @@ -1,3 +1,4 @@ +#!/bin/bash # $Id$ # quick build (for lazy programmers). for more information on the # build process, see the README file.