summaryrefslogtreecommitdiffstats
path: root/network/ctorrent/ctorrent.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ctorrent/ctorrent.SlackBuild')
-rw-r--r--network/ctorrent/ctorrent.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/ctorrent/ctorrent.SlackBuild b/network/ctorrent/ctorrent.SlackBuild
index a5dee797f0..4cfaab130b 100644
--- a/network/ctorrent/ctorrent.SlackBuild
+++ b/network/ctorrent/ctorrent.SlackBuild
@@ -22,6 +22,8 @@
# -----------------------------------------------------------------------------
# Slightly modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ctorrent
VERSION=${VERSION:-3.3.2}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}