aboutsummaryrefslogtreecommitdiff
path: root/system/hdapsd/hdapsd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/hdapsd/hdapsd.SlackBuild')
-rw-r--r--system/hdapsd/hdapsd.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/hdapsd/hdapsd.SlackBuild b/system/hdapsd/hdapsd.SlackBuild
index 6661b2ee00efb..8515f0a8bb6bb 100644
--- a/system/hdapsd/hdapsd.SlackBuild
+++ b/system/hdapsd/hdapsd.SlackBuild
@@ -27,6 +27,8 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
# Updated by Antonio Hernández Blas <hba.nihilismus@gmail.com> for hdapsd-20090401
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hdapsd
VERSION=${VERSION:-20141203}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}