aboutsummaryrefslogtreecommitdiff
path: root/academic/root/root.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/root/root.SlackBuild')
-rw-r--r--academic/root/root.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/root/root.SlackBuild b/academic/root/root.SlackBuild
index ff537520aae69..9b82146531c19 100644
--- a/academic/root/root.SlackBuild
+++ b/academic/root/root.SlackBuild
@@ -17,6 +17,8 @@
# Modified by the slackbuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=root
VERSION=${VERSION:-6.10.02}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}