aboutsummaryrefslogtreecommitdiff
path: root/libraries/darcsver
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/darcsver')
-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 2c567e92b1269..252c029f12510 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}