aboutsummaryrefslogtreecommitdiff
path: root/development/amd-app-sdk/amd-app-sdk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/amd-app-sdk/amd-app-sdk.SlackBuild')
-rw-r--r--development/amd-app-sdk/amd-app-sdk.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/amd-app-sdk/amd-app-sdk.SlackBuild b/development/amd-app-sdk/amd-app-sdk.SlackBuild
index ac3ab33ba73ff..5e0a4e15908e5 100644
--- a/development/amd-app-sdk/amd-app-sdk.SlackBuild
+++ b/development/amd-app-sdk/amd-app-sdk.SlackBuild
@@ -30,6 +30,8 @@
# 20121220 - Updated for version 2.6: incompatible packaging with 2.4- versions
# 20130530 - Updated for version 2.8 and made samples optional
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=amd-app-sdk
INT_NAME=AMD-APP-SDK
VERSION=${VERSION:-2.8}
@@ -46,7 +48,6 @@ case "$TESTARCH" in
exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}