aboutsummaryrefslogtreecommitdiff
path: root/python/Whoosh/Whoosh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/Whoosh/Whoosh.SlackBuild')
-rw-r--r--python/Whoosh/Whoosh.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/Whoosh/Whoosh.SlackBuild b/python/Whoosh/Whoosh.SlackBuild
index a61c68096f221..95868b49eccf9 100644
--- a/python/Whoosh/Whoosh.SlackBuild
+++ b/python/Whoosh/Whoosh.SlackBuild
@@ -20,6 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Whoosh
VERSION=${VERSION:-2.7.4}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}