summaryrefslogtreecommitdiffstats
path: root/network/rtorrent/rtorrent.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/rtorrent/rtorrent.SlackBuild')
-rw-r--r--network/rtorrent/rtorrent.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/rtorrent/rtorrent.SlackBuild b/network/rtorrent/rtorrent.SlackBuild
index 60614d333d..5890badc69 100644
--- a/network/rtorrent/rtorrent.SlackBuild
+++ b/network/rtorrent/rtorrent.SlackBuild
@@ -10,6 +10,8 @@
# Updated to 0.8.9 by Brian Kysela 2011-06-22
# Updated to 0.9.0 by Brian Kysela 2011-12-12
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rtorrent
VERSION=${VERSION:-0.9.7}
BUILD=${BUILD:-1}
@@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}