diff options
-rw-r--r-- | tools/buildsteps/android/prepare-xbmc | 5 | ||||
-rw-r--r-- | tools/buildsteps/androidx86/prepare-xbmc | 5 | ||||
-rwxr-xr-x | tools/buildsteps/ios/prepare-xbmc | 6 | ||||
-rw-r--r-- | tools/buildsteps/win32/prepare-env.bat | 6 |
4 files changed, 17 insertions, 5 deletions
diff --git a/tools/buildsteps/android/prepare-xbmc b/tools/buildsteps/android/prepare-xbmc index 020bc03022..e83b22aad4 100644 --- a/tools/buildsteps/android/prepare-xbmc +++ b/tools/buildsteps/android/prepare-xbmc @@ -2,4 +2,7 @@ WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} XBMC_PLATFORM_DIR=android . $WORKSPACE/tools/buildsteps/defaultenv -#nothing on android +#fetch submodules +cd $WORKSPACE +rm -r $WORKSPACE/addons/skin.touched +git submodule update --init $WORKSPACE/addons/skin.touched diff --git a/tools/buildsteps/androidx86/prepare-xbmc b/tools/buildsteps/androidx86/prepare-xbmc index 020bc03022..e83b22aad4 100644 --- a/tools/buildsteps/androidx86/prepare-xbmc +++ b/tools/buildsteps/androidx86/prepare-xbmc @@ -2,4 +2,7 @@ WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} XBMC_PLATFORM_DIR=android . $WORKSPACE/tools/buildsteps/defaultenv -#nothing on android +#fetch submodules +cd $WORKSPACE +rm -r $WORKSPACE/addons/skin.touched +git submodule update --init $WORKSPACE/addons/skin.touched diff --git a/tools/buildsteps/ios/prepare-xbmc b/tools/buildsteps/ios/prepare-xbmc index 4b75e9158a..2f2503b437 100755 --- a/tools/buildsteps/ios/prepare-xbmc +++ b/tools/buildsteps/ios/prepare-xbmc @@ -2,5 +2,7 @@ WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} XBMC_PLATFORM_DIR=ios . $WORKSPACE/tools/buildsteps/defaultenv -#nothing on ios - +#fetch submodules +cd $WORKSPACE +rm -r $WORKSPACE/addons/skin.touched +git submodule update --init $WORKSPACE/addons/skin.touched diff --git a/tools/buildsteps/win32/prepare-env.bat b/tools/buildsteps/win32/prepare-env.bat index 0e3b5ff0ba..d95fda56d7 100644 --- a/tools/buildsteps/win32/prepare-env.bat +++ b/tools/buildsteps/win32/prepare-env.bat @@ -22,4 +22,8 @@ IF EXIST %WORKSPACE%\project\BuildDependencies\msys rmdir %WORKSPACE%\project\Bu IF EXIST %WORKSPACE%\project\VS2010Express\XBMC rmdir %WORKSPACE%\project\VS2010Express\XBMC /S /Q IF EXIST %WORKSPACE%\project\VS2010Express\objs rmdir %WORKSPACE%\project\VS2010Express\objs /S /Q -IF EXIST %WORKSPACE%\project\VS2010Express\libs rmdir %WORKSPACE%\project\VS2010Express\libs /S /Q
\ No newline at end of file +IF EXIST %WORKSPACE%\project\VS2010Express\libs rmdir %WORKSPACE%\project\VS2010Express\libs /S /Q + +rem fetch submodules +IF EXIST "%WORKSPACE%\addons\skin.touched" rmdir "%WORKSPACE%\addons\skin.touched" /S /Q || exit /b 10 +git submodule update --init "%WORKSPACE%\addons\skin.touched" || exit /b 30 |