small bug in update_svn_rev.bat

Discussion of XBMC4XBOX development.
Post Reply
ezgoen
Posts: 2
Joined: Sat Jun 01, 2013 10:25 am

small bug in update_svn_rev.bat

Post by ezgoen »

Hi , new here but old to xbmx on xbox

I'm currently compiling a virtual appliance to build xbmc4xbox - this will appear somewhere on some
bittorrent site sometime very soon.

in the process I built from a folder on the desktop and "update_svn_rev.bat" failed miserably because some quotes were missing.

Here's a fixed version that I hope someone will put in svn so that this virtaul machine/appliance works out of the box for anyone.


Cheers and thanks for all your efforts.

Code: Select all

@echo off 
rem subwcrev is included in the tortoise svn client: http://tortoisesvn.net/downloads

SET CWD=%~dp0

SET REV_FILE="%CWD%xbmc\xbox\svn_rev.h"

IF EXIST %REV_FILE% del %REV_FILE%

SET SUBWCREV="?"
IF EXIST "%ProgramFiles(x86)%\TortoiseSVN\bin\subwcrev.exe" SET SUBWCREV="%ProgramFiles(x86)%\TortoiseSVN\bin\subwcrev.exe"
IF EXIST "%ProgramFiles%\TortoiseSVN\bin\subwcrev.exe"      SET SUBWCREV="%ProgramFiles%\TortoiseSVN\bin\subwcrev.exe"
IF EXIST "%ProgramW6432%\TortoiseSVN\bin\subwcrev.exe" SET SUBWCREV="%ProgramW6432%\TortoiseSVN\bin\subwcrev.exe"

IF NOT EXIST %SUBWCREV% GOTO SKIPSUBWCREV

%SUBWCREV% "%CWD%xbmc/xbox/svn_rev.tmpl" %REV_FILE% -f

IF NOT EXIST %REV_FILE% %SUBWCREV% %CWD% "%CWD%xbmc\xbox\svn_rev.tmpl" %REV_FILE% -f

:SKIPSUBWCREV

IF NOT EXIST %REV_FILE% copy "%CWD%xbmc\xbox\svn_rev.unknown" %REV_FILE%

SET REV_FILE=
SET SUBWCREV=
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: small bug in update_svn_rev.bat

Post by BuZz »

known issue - http://redmine.exotica.org.uk/issues/238 - but thanks for noticing / reporting ;-) (alternatively do the checkout in a folder path without spaces)
ezgoen
Posts: 2
Joined: Sat Jun 01, 2013 10:25 am

Re: small bug in update_svn_rev.bat

Post by ezgoen »

I think I found that torrent ;)

if you google for BuildXBMC4Xbox you might find it too.

It seems to be some sort of VMWare XP Pro virtual PC

I've tried downloading it but it seems whoever made the torrent doesnt have much bandwidth.

Its probably one of those fast download/slow upload ADSL Internet packages some people are forced to put up with.

I reckon if someone downloads it who has a bit of bandwidth to spare and can seed it for a bit too - it might be a good thing!


Curious to see if it solve the problem of finding al the stuff one needs in order to compile XBMC4Xbox ??


Cheers everyone and have fun!


Ez
Post Reply