summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2010-12-29 10:11:34 (GMT)
committerCecil <knoppmyth@gmail.com>2010-12-29 10:11:34 (GMT)
commit354311cc3d8ce3d9dc76128c78afa0eaae285d34 (patch)
treed86a79ee40f511f591b78fc015d2fc39c5606e0d /abs/core
parentc61fcfd15c38097d92d4d0b7faf91a800e5e85e4 (diff)
downloadlinhes_pkgbuild-354311cc3d8ce3d9dc76128c78afa0eaae285d34.zip
linhes_pkgbuild-354311cc3d8ce3d9dc76128c78afa0eaae285d34.tar.gz
linhes_pkgbuild-354311cc3d8ce3d9dc76128c78afa0eaae285d34.tar.bz2
mythtv:more updates from switch to GIT.
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/mythtv/stable-0.24/mythtv/PKGBUILD12
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} `