aboutsummaryrefslogtreecommitdiff
path: root/audio/mktoc/mktoc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mktoc/mktoc.SlackBuild')
-rw-r--r--audio/mktoc/mktoc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/mktoc/mktoc.SlackBuild b/audio/mktoc/mktoc.SlackBuild
index f9fd5cf800bab..e696131d751a8 100644
--- a/audio/mktoc/mktoc.SlackBuild
+++ b/audio/mktoc/mktoc.SlackBuild
@@ -17,6 +17,8 @@
# (sorry, this is a pet peeve, I can't not fix it)
# - add man page, basically upstream's README
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mktoc
VERSION=${VERSION:-1.3}
BUILD=${BUILD:-2}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}