diff options
Diffstat (limited to 'abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh')
-rw-r--r-- | abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh b/abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh deleted file mode 100644 index 2dc923a..0000000 --- a/abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash -#Quick script used to checkout the MythTV source -#This source should be used build all mythplugins & main program -#76df8e6c8f7b84a157607d8c25fd19f39d8dc830 -_gitroot="https://github.com/MythTV/mythtv.git" -_gitname="mythtv" -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 fixes/0.25 - git pull - echo "The local files are updated." -else - git clone -b fixes/0.25 $_gitroot -fi - -if [ -d $_gitname ] -then - cd $_gitname - if [ $_current == True ] - then - git rev-parse HEAD > $startdir/git_hash - else - git checkout $_checkoutHASH - fi - pwd - ls -# cd $_gitname - sh ./version.sh `pwd` -fi -echo "GIT checkout done or server timeout" - - |