aboutsummaryrefslogtreecommitdiff
path: root/development/octant/octant.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/octant/octant.SlackBuild')
-rw-r--r--development/octant/octant.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/octant/octant.SlackBuild b/development/octant/octant.SlackBuild
index ca3ccbf80dd2f..db2878fa3ea52 100644
--- a/development/octant/octant.SlackBuild
+++ b/development/octant/octant.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=octant
VERSION=${VERSION:-0.17.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}