summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-04-22 18:10:42 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-04-22 18:10:42 (GMT)
commit92076b9f4811900b43b6f177496d5bfd447ebab9 (patch)
treef81c11d9143a71d64082fcc51a0b636ab239621c
parent73e587b0f37e224e6b772a080a35f98bf275b6f6 (diff)
downloadlinhes_pkgbuild-92076b9f4811900b43b6f177496d5bfd447ebab9.zip
linhes_pkgbuild-92076b9f4811900b43b6f177496d5bfd447ebab9.tar.gz
linhes_pkgbuild-92076b9f4811900b43b6f177496d5bfd447ebab9.tar.bz2
mythtv: on checkout eith git_src set the version.
When building mythtv the version is already set so make version.sh to do nothing.
-rw-r--r--abs/core/mythtv/stable-0.25/git_src/checkout_mythtv.sh4
-rw-r--r--abs/core/mythtv/stable-0.25/git_src/git_hash2
-rw-r--r--abs/core/mythtv/stable-0.25/mythtv/PKGBUILD2
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----------------------------------------------------"