aboutsummaryrefslogtreecommitdiff
path: root/academic/fann/fann.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/fann/fann.SlackBuild')
-rw-r--r--academic/fann/fann.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/fann/fann.SlackBuild b/academic/fann/fann.SlackBuild
index 50a811cb221f0..eec6baa13eda1 100644
--- a/academic/fann/fann.SlackBuild
+++ b/academic/fann/fann.SlackBuild
@@ -4,6 +4,8 @@
# Written by Andrew Conway (ajc AT countingthoughts DOT com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fann
VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}