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