aboutsummaryrefslogtreecommitdiff
path: root/libraries/darcsver/darcsver.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/darcsver/darcsver.SlackBuild')
-rw-r--r--libraries/darcsver/darcsver.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/darcsver/darcsver.SlackBuild b/libraries/darcsver/darcsver.SlackBuild
index 2c567e92b126..252c029f1251 100644
--- a/libraries/darcsver/darcsver.SlackBuild
+++ b/libraries/darcsver/darcsver.SlackBuild
@@ -26,6 +26,8 @@
# Originally written by Marco Bonetti - Thanks!
# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=darcsver
VERSION=${VERSION:-1.7.4}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}