aboutsummaryrefslogtreecommitdiff
path: root/libraries/libtommath/libtommath.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libtommath/libtommath.SlackBuild')
-rw-r--r--libraries/libtommath/libtommath.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libtommath/libtommath.SlackBuild b/libraries/libtommath/libtommath.SlackBuild
index 6643be7f6fa4..11063b937835 100644
--- a/libraries/libtommath/libtommath.SlackBuild
+++ b/libraries/libtommath/libtommath.SlackBuild
@@ -11,6 +11,8 @@
# libtommath-1.0, use the previous version of this script if you need
# 1.0 for some odd reason.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libtommath
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}