aboutsummaryrefslogtreecommitdiff
path: root/libraries/ffms2/ffms2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ffms2/ffms2.SlackBuild')
-rw-r--r--libraries/ffms2/ffms2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/ffms2/ffms2.SlackBuild b/libraries/ffms2/ffms2.SlackBuild
index d143d4a303f40..5c3ae32f7ec9f 100644
--- a/libraries/ffms2/ffms2.SlackBuild
+++ b/libraries/ffms2/ffms2.SlackBuild
@@ -20,6 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUTPUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ffms2
VERSION=${VERSION:-2.40}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}