aboutsummaryrefslogtreecommitdiff
path: root/system/dieharder
diff options
context:
space:
mode:
Diffstat (limited to 'system/dieharder')
-rw-r--r--system/dieharder/dieharder.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/dieharder/dieharder.SlackBuild b/system/dieharder/dieharder.SlackBuild
index 1e3a94d8d2af..f72c8e83efb2 100644
--- a/system/dieharder/dieharder.SlackBuild
+++ b/system/dieharder/dieharder.SlackBuild
@@ -26,6 +26,8 @@
## GNU GPL v2 (with beverage provision). Please see the file COPYING
## in the dieharder source distribution for more on this.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dieharder
VERSION=${VERSION:-3.31.1}
BUILD=${BUILD:-3}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}