From 0bc60eb9e32b66430954a9c978c6eb4f1fa4f02d Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 18 Apr 2014 20:09:54 +0200 Subject: Fix previous commit Was untested, is still untested. --- scripts/mpv-config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/mpv-config b/scripts/mpv-config index 7c71b27..4538521 100755 --- a/scripts/mpv-config +++ b/scripts/mpv-config @@ -1,12 +1,13 @@ #!/bin/sh set -e +BUILD="$(pwd)" + USER_OPTS="$@" if test -f "$BUILD"/mpv_options ; then USER_OPTS="$(cat "$BUILD"/mpv_options) $USER_OPTS" fi OPTIONS="$USER_OPTS" -BUILD="$(pwd)" cd "$BUILD"/mpv PKG_CONFIG_PATH="$BUILD"/build_libs/lib/pkgconfig ./waf configure $OPTIONS "$@" -- cgit v1.2.3