summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/libvpx
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/libvpx')
-rwxr-xr-xslackware64-current/source/l/libvpx/libvpx.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/slackware64-current/source/l/libvpx/libvpx.SlackBuild b/slackware64-current/source/l/libvpx/libvpx.SlackBuild
index fc4447c81..b96ebb84c 100755
--- a/slackware64-current/source/l/libvpx/libvpx.SlackBuild
+++ b/slackware64-current/source/l/libvpx/libvpx.SlackBuild
@@ -23,6 +23,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)
+
PKGNAM=libvpx
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
@@ -55,7 +57,6 @@ else
ARCHOPTS="--target=${ARCH}-linux-gcc"
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM