aboutsummaryrefslogtreecommitdiff
path: root/network/transmission/transmission.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/transmission/transmission.SlackBuild')
-rw-r--r--network/transmission/transmission.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/transmission/transmission.SlackBuild b/network/transmission/transmission.SlackBuild
index f2000feef0989..9383e5e781448 100644
--- a/network/transmission/transmission.SlackBuild
+++ b/network/transmission/transmission.SlackBuild
@@ -38,6 +38,8 @@
# transmission-qt, transmission-cli, and/or transmission-daemon.
# But disabling them all is no good.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=transmission
VERSION=${VERSION:-3.00}
BUILD=${BUILD:-1}
@@ -51,7 +53,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}