aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorMartijn Kaijser <mcm.kaijser@gmail.com>2013-09-01 16:41:49 +0200
committerMartijn Kaijser <mcm.kaijser@gmail.com>2013-09-01 16:41:49 +0200
commitc2a43ab4fdcacf2dc208ee6147c6444fa9da09c6 (patch)
treee31655a9118e420c74b8b5af5955545d3f10ef26 /project
parent617b1cec0f0d3a88adfae97475c45282b11a8bc4 (diff)
[win32] exclude skin.touched from copying if it hasn't been pulled from git
Diffstat (limited to 'project')
-rw-r--r--project/Win32BuildSetup/BuildSetup.bat16
1 files changed, 12 insertions, 4 deletions
diff --git a/project/Win32BuildSetup/BuildSetup.bat b/project/Win32BuildSetup/BuildSetup.bat
index 29fbd8ec20..f4548a3eb5 100644
--- a/project/Win32BuildSetup/BuildSetup.bat
+++ b/project/Win32BuildSetup/BuildSetup.bat
@@ -215,6 +215,10 @@ IF %comp%==vs2010 (
Echo addons\visualization.fishbmc\>>exclude.txt
Echo addons\visualization.projectm\>>exclude.txt
Echo addons\visualization.glspectrum\>>exclude.txt
+ rem Exclude skins if not present
+ IF NOT EXIST addons\skin.touched\addon.xml (
+ Echo addons\skin.touched\>>exclude.txt
+ )
rem other platform stuff
Echo lib-osx>>exclude.txt
Echo players\mplayer>>exclude.txt
@@ -249,10 +253,14 @@ IF %comp%==vs2010 (
cd ..\..\addons\skin.confluence
call build.bat > NUL
cd %build_path%
- ECHO Building Touched Skin...
- cd ..\..\addons\skin.touched
- call build.bat > NUL
- cd %build_path%
+
+ IF EXIST ..\..\addons\skin.touched\build.bat (
+ ECHO Building Touched Skin...
+ cd ..\..\addons\skin.touched
+ call build.bat > NUL
+ cd %build_path%
+ )
+
rem restore color and title, some scripts mess these up
COLOR 1B
TITLE XBMC for Windows Build Script