aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmediainfo/libmediainfo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmediainfo/libmediainfo.SlackBuild')
-rw-r--r--libraries/libmediainfo/libmediainfo.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libmediainfo/libmediainfo.SlackBuild b/libraries/libmediainfo/libmediainfo.SlackBuild
index dcd6f3e32e3c1..eaef7b5d73f85 100644
--- a/libraries/libmediainfo/libmediainfo.SlackBuild
+++ b/libraries/libmediainfo/libmediainfo.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=libmediainfo
VERSION=${VERSION:-20.09}
SRCNAM=MediaInfoLib
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}