aboutsummaryrefslogtreecommitdiff
path: root/misc/par2cmdline-tbb
diff options
context:
space:
mode:
Diffstat (limited to 'misc/par2cmdline-tbb')
-rw-r--r--misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
index fc68e9d7bf9aa..f499609f2581f 100644
--- a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
+++ b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for par2cmdline tbb
# Written by powtrix (@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=par2cmdline-tbb
VERSION=${VERSION:-0.4_20150503}
BUILD=${BUILD:-1}
@@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}