aboutsummaryrefslogtreecommitdiff
path: root/academic/SU2/SU2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/SU2/SU2.SlackBuild')
-rw-r--r--academic/SU2/SU2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/SU2/SU2.SlackBuild b/academic/SU2/SU2.SlackBuild
index 2a452c87019ad..fd13d4cb0e85e 100644
--- a/academic/SU2/SU2.SlackBuild
+++ b/academic/SU2/SU2.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SU2
VERSION=${VERSION:-6.2.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}