aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x264/x264.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/x264/x264.SlackBuild')
-rw-r--r--multimedia/x264/x264.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/x264/x264.SlackBuild b/multimedia/x264/x264.SlackBuild
index cc2c0d773dbe9..7950edc671908 100644
--- a/multimedia/x264/x264.SlackBuild
+++ b/multimedia/x264/x264.SlackBuild
@@ -24,6 +24,8 @@
# Originally written by core (eroc@linuxmail.org)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=x264
VERSION=${VERSION:-20170225}
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}