diff options
-rwxr-xr-x | abs/core/mythtv/stable-0.24/mythtv/PKGBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD index 65fc538..e7c6359 100755 --- a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD +++ b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD @@ -35,19 +35,21 @@ build() { # get clean copy from SVN repo if [ -d "${srcdir}/${pkgname}" ] then - cd "${srcdir}/${pkgname}" + cd "${srcdir}/${pkgname}"/mythtv msg "Clean up previous build..." - make distclean + #make distclean + cd "${srcdir}/${pkgname}" msg "Updating from GIT..." - git pull origin + #git checkout -b 0.24-fixes origin/fixes/0.24 + git pull msg "The local files are updated." else cd "${srcdir}" msg "Cloning from GIT..." git clone $_gitroot $_gitname - cd "${srcdir}/${pkgname}" + cd "${srcdir}/${pkgname}" && git checkout origin/fixes/0.24 fi - + cd "${srcdir}/${pkgname}"/mythtv # apply patches echo "--------------------------applying patches----------------------------------------------------" for i in `echo ${patchs[@]:0} ` |