summaryrefslogtreecommitdiffstats
path: root/system/mktorrent
diff options
context:
space:
mode:
Diffstat (limited to 'system/mktorrent')
-rw-r--r--system/mktorrent/mktorrent.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/mktorrent/mktorrent.SlackBuild b/system/mktorrent/mktorrent.SlackBuild
index 1023c0ffef..e057d27e71 100644
--- a/system/mktorrent/mktorrent.SlackBuild
+++ b/system/mktorrent/mktorrent.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for mktorrent
# Written by Grigorios Bouzakis (grbzks@xsmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mktorrent
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}