summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh
blob: 7691a29f0c6e390b78cc247abd5641cf2219e6d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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"


if [ -d $_gitname ]
then
    cd $_gitname && git pull
    echo "The local files are updated."
else
    git clone -b fixes/0.25 $_gitroot
fi
echo "GIT checkout done or server timeout"