aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpgtx/mpgtx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mpgtx/mpgtx.SlackBuild')
-rw-r--r--multimedia/mpgtx/mpgtx.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/mpgtx/mpgtx.SlackBuild b/multimedia/mpgtx/mpgtx.SlackBuild
index 3abee81a61649..9bf63badd853e 100644
--- a/multimedia/mpgtx/mpgtx.SlackBuild
+++ b/multimedia/mpgtx/mpgtx.SlackBuild
@@ -5,6 +5,8 @@
# Written by Matteo Bernardini <ponce@slackbuilds.org>
# Modified by Erik Hanson <erik@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mpgtx
VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-2}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}