aboutsummaryrefslogtreecommitdiff
path: root/libraries/dav1d/dav1d.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/dav1d/dav1d.SlackBuild')
-rw-r--r--libraries/dav1d/dav1d.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/dav1d/dav1d.SlackBuild b/libraries/dav1d/dav1d.SlackBuild
index 8fc453b1159e8..c9ed6d503fdde 100644
--- a/libraries/dav1d/dav1d.SlackBuild
+++ b/libraries/dav1d/dav1d.SlackBuild
@@ -23,6 +23,8 @@
# SUCH DAMAGE.
# ----------------------------------------------------------------------
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dav1d
VERSION=${VERSION:-0.8.2}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}