From 92076b9f4811900b43b6f177496d5bfd447ebab9 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sun, 22 Apr 2012 13:10:42 -0500
Subject: mythtv: on checkout eith git_src  set the version. When building
 mythtv the version is already set so make  version.sh to do nothing.

---
 abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh | 4 ++++
 abs/core/mythtv/stable-0.25/git_src/git_hash           | 2 +-
 abs/core/mythtv/stable-0.25/mythtv/PKGBUILD            | 2 +-
 3 files changed, 6 insertions(+), 2 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
index 2a2df89..2dc923a 100644
--- a/abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh
+++ b/abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh
@@ -30,6 +30,10 @@ then
     else
         git checkout $_checkoutHASH
     fi
+    pwd
+    ls
+#    cd $_gitname
+    sh ./version.sh `pwd`
 fi
 echo "GIT checkout done or server timeout"
 
diff --git a/abs/core/mythtv/stable-0.25/git_src/git_hash b/abs/core/mythtv/stable-0.25/git_src/git_hash
index 67a8784..53027bd 100644
--- a/abs/core/mythtv/stable-0.25/git_src/git_hash
+++ b/abs/core/mythtv/stable-0.25/git_src/git_hash
@@ -1 +1 @@
-1a671d0b252d2b33bd1e96258e65a15d52a5fc7d
+9ac4b79b1048568afc6a8f6e302de1e248eab2a1
diff --git a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
index c797bbf..37c3643 100644
--- a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
+++ b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD
@@ -74,7 +74,7 @@ build() {
     msg "copy in mythtv src"
     cp -rp ../git_src/mythtv/mythtv $srcdir
     cd ${srcdir}/$pkgname
-
+    echo "#!/bin/bash" > version.sh
     # apply patches
 
    echo "--------------------------applying patches----------------------------------------------------"
-- 
cgit v0.12

