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