aboutsummaryrefslogtreecommitdiff
path: root/development/MySQL-python/MySQL-python.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/MySQL-python/MySQL-python.SlackBuild')
-rw-r--r--development/MySQL-python/MySQL-python.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/MySQL-python/MySQL-python.SlackBuild b/development/MySQL-python/MySQL-python.SlackBuild
index 7b739ca6b7c7c..91e20bf4169fa 100644
--- a/development/MySQL-python/MySQL-python.SlackBuild
+++ b/development/MySQL-python/MySQL-python.SlackBuild
@@ -5,6 +5,8 @@
# Written by Jick Nan (jick.nan@gmail.com)
# Modified by the Slackbuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=MySQL-python
VERSION=${VERSION:-1.2.5}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}