aboutsummaryrefslogtreecommitdiff
path: root/python/cddb-py/cddb-py.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/cddb-py/cddb-py.SlackBuild')
-rw-r--r--python/cddb-py/cddb-py.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/cddb-py/cddb-py.SlackBuild b/python/cddb-py/cddb-py.SlackBuild
index 2878a1dd9cb9c..00bf6d45c4c1e 100644
--- a/python/cddb-py/cddb-py.SlackBuild
+++ b/python/cddb-py/cddb-py.SlackBuild
@@ -5,6 +5,8 @@
# Written by Mihai Militaru <mihai.militaru@gmx.com>
# March 2009
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cddb-py
ORIGNAM=CDDB
VERSION=${VERSION:-1.4}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}