summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-04-24 19:06:10 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-04-24 19:06:10 (GMT)
commitea6a68cb63436bbcef8630a783afcd32d8e3b646 (patch)
tree42849765d762e4cfd372a4875cd7928e59fb0614 /abs/core
parent2e4dddd1ae70ed166552560b833cf1f56ab5a674 (diff)
downloadlinhes_pkgbuild-ea6a68cb63436bbcef8630a783afcd32d8e3b646.zip
linhes_pkgbuild-ea6a68cb63436bbcef8630a783afcd32d8e3b646.tar.gz
linhes_pkgbuild-ea6a68cb63436bbcef8630a783afcd32d8e3b646.tar.bz2
git_src_checkout: add file to checkout mythweb
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/mythtv/stable-0.25/git_src/checkout_mythweb.sh38
-rw-r--r--abs/core/mythtv/stable-0.25/git_src/git_hash_web1
2 files changed, 39 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable-0.25/git_src/checkout_mythweb.sh b/abs/core/mythtv/stable-0.25/git_src/checkout_mythweb.sh
new file mode 100644
index 0000000..6e8e67e
--- /dev/null
+++ b/abs/core/mythtv/stable-0.25/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
+#76df8e6c8f7b84a157607d8c25fd19f39d8dc830
+_gitroot="https://github.com/MythTV/mythweb.git"
+_gitname="mythweb"
+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 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_web
+ else
+ git checkout $_checkoutHASH
+ fi
+ pwd
+ ls
+fi
+echo "GIT checkout done or server timeout"
+
+
diff --git a/abs/core/mythtv/stable-0.25/git_src/git_hash_web b/abs/core/mythtv/stable-0.25/git_src/git_hash_web
new file mode 100644
index 0000000..0bcf85d
--- /dev/null
+++ b/abs/core/mythtv/stable-0.25/git_src/git_hash_web
@@ -0,0 +1 @@
+1d056f77dc29045008b52b82e90bc935ff1ab948