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