summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild')
-rwxr-xr-xslackware64-current/source/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/slackware64-current/source/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild b/slackware64-current/source/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild
index 27e1fc08f..f2675f59e 100755
--- a/slackware64-current/source/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild
+++ b/slackware64-current/source/x/intel-vaapi-driver/intel-vaapi-driver.SlackBuild
@@ -21,6 +21,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=intel-vaapi-driver
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
BUILD=${BUILD:-1}
@@ -49,7 +51,6 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM