aboutsummaryrefslogtreecommitdiff
path: root/python/python-mysqlclient/python-mysqlclient.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-mysqlclient/python-mysqlclient.SlackBuild')
-rw-r--r--python/python-mysqlclient/python-mysqlclient.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/python-mysqlclient/python-mysqlclient.SlackBuild b/python/python-mysqlclient/python-mysqlclient.SlackBuild
index 1503daaf141d1..fd0cafd7aaece 100644
--- a/python/python-mysqlclient/python-mysqlclient.SlackBuild
+++ b/python/python-mysqlclient/python-mysqlclient.SlackBuild
@@ -22,6 +22,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=python-mysqlclient
VERSION=${VERSION:-1.3.13}
BUILD=${BUILD:-2}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}