summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/xap/xine-ui/xine-ui.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/xap/xine-ui/xine-ui.SlackBuild')
-rwxr-xr-xslackware64-current/source/xap/xine-ui/xine-ui.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/slackware64-current/source/xap/xine-ui/xine-ui.SlackBuild b/slackware64-current/source/xap/xine-ui/xine-ui.SlackBuild
index 91d0f344e..2f3301921 100755
--- a/slackware64-current/source/xap/xine-ui/xine-ui.SlackBuild
+++ b/slackware64-current/source/xap/xine-ui/xine-ui.SlackBuild
@@ -20,6 +20,7 @@
# 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)
VERSION=${VERSION:-$(echo xine-ui-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
# I would use "-march=i586 -mcpu=i686" here as usual, but with XINE it's all or nothing.
@@ -39,7 +40,6 @@ TARGET=${TARGET:-$ARCH-pc-linux-gnu}
NUMJOBS=${NUMJOBS:-" -j7 "}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-xine-ui
rm -rf $PKG