aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpv/mpv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mpv/mpv.SlackBuild')
-rw-r--r--multimedia/mpv/mpv.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/mpv/mpv.SlackBuild b/multimedia/mpv/mpv.SlackBuild
index b1e2778fd7144..31ec7e554a5f0 100644
--- a/multimedia/mpv/mpv.SlackBuild
+++ b/multimedia/mpv/mpv.SlackBuild
@@ -24,6 +24,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mpv
VERSION=${VERSION:-0.33.1}
WAF_VERSION=${WAF_VERSION:-2.0.20}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}