diff options
| author | Britney Fransen <brfransen@gmail.com> | 2016-05-16 16:24:28 (GMT) |
|---|---|---|
| committer | Britney Fransen <brfransen@gmail.com> | 2016-05-16 16:24:28 (GMT) |
| commit | fff4c50d3a1d94c807604d6c21355993dfb95c85 (patch) | |
| tree | 390f0eb0781b2599449edbdafbeb6aaba34200dc /abs/core/mythtv/stable-0.28/git_src | |
| parent | 8de064f6e96f960cdbfe6868d9957a4613f704df (diff) | |
| parent | 6f7a84649ef75069cc4fa06fabeb63e762e049d1 (diff) | |
| download | linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.zip linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.tar.gz linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.tar.bz2 | |
Merge branch 'testing'
Diffstat (limited to 'abs/core/mythtv/stable-0.28/git_src')
4 files changed, 80 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable-0.28/git_src/checkout_mythtv.sh b/abs/core/mythtv/stable-0.28/git_src/checkout_mythtv.sh new file mode 100755 index 0000000..b579873 --- /dev/null +++ b/abs/core/mythtv/stable-0.28/git_src/checkout_mythtv.sh @@ -0,0 +1,40 @@ +#!/bin/bash +#Quick script used to checkout the MythTV source +#This source should be used build all mythplugins & main program + +_gitroot="https://github.com/MythTV/mythtv.git" +_gitname="mythtv" +_gitbranch="fixes/0.28" + +startdir=`pwd` + +#Set this to True, to update mythtv to the latest. +#If not true then it will use the hash stored in git_hash +_current="True" + +_checkoutHASH=`cat git_hash` + +if [ -d $_gitname ] +then + cd $_gitname + git checkout $_gitbranch + git pull + echo "The local files are updated." + cd $startdir +else + git clone -b $_gitbranch $_gitroot +fi + +if [ -d $_gitname ] +then + cd $_gitname + if [ $_current == True ] + then + git rev-parse HEAD > $startdir/git_hash + else + git checkout $_checkoutHASH + fi + cd mythtv + sh ./version.sh `pwd` +fi +echo "GIT checkout done or server timeout" diff --git a/abs/core/mythtv/stable-0.28/git_src/checkout_mythweb.sh b/abs/core/mythtv/stable-0.28/git_src/checkout_mythweb.sh new file mode 100755 index 0000000..94b872e --- /dev/null +++ b/abs/core/mythtv/stable-0.28/git_src/checkout_mythweb.sh @@ -0,0 +1,38 @@ +#!/bin/bash +#Quick script used to checkout the Mythweb source +#This source should be used build all mythplugins & main program + +_gitroot="https://github.com/MythTV/mythweb.git" +_gitname="mythweb" +_gitbranch="fixes/0.28" + +startdir=`pwd` + +#Set this to True, to update mythtv to the latest. +#If not true then it will use the hash stored in git_hash +_current="True" + +_checkoutHASH=`cat git_hash_web` + +if [ -d $_gitname ] +then + cd $_gitname + git checkout $_gitbranch + git pull + echo "The local files are updated." + cd $startdir +else + git clone -b $_gitbranch $_gitroot +fi + +if [ -d $_gitname ] +then + cd $_gitname + if [ $_current == True ] + then + git rev-parse HEAD > $startdir/git_hash_web + else + git checkout $_checkoutHASH + fi +fi +echo "GIT checkout done or server timeout" diff --git a/abs/core/mythtv/stable-0.28/git_src/git_hash b/abs/core/mythtv/stable-0.28/git_src/git_hash new file mode 100644 index 0000000..535d15a --- /dev/null +++ b/abs/core/mythtv/stable-0.28/git_src/git_hash @@ -0,0 +1 @@ +370dd71fa4a6affb09f989c6000c9dea7097bb15 diff --git a/abs/core/mythtv/stable-0.28/git_src/git_hash_web b/abs/core/mythtv/stable-0.28/git_src/git_hash_web new file mode 100644 index 0000000..542ef2e --- /dev/null +++ b/abs/core/mythtv/stable-0.28/git_src/git_hash_web @@ -0,0 +1 @@ +a1f2cdf03978427eaa9e35fa18162a0ba6be829d |
