summaryrefslogtreecommitdiffstats
path: root/abs/core-testing
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-05 21:38:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-05 21:38:08 (GMT)
commit9bedd8cf62642d2c1ccec60000a70c3b9bd60e5e (patch)
tree21b3c7dff8624848fb36084613e49dd825a6de26 /abs/core-testing
parentdaa272b5f5dac869f2c247452d9c1c72f885dda5 (diff)
downloadlinhes_pkgbuild-9bedd8cf62642d2c1ccec60000a70c3b9bd60e5e.zip
linhes_pkgbuild-9bedd8cf62642d2c1ccec60000a70c3b9bd60e5e.tar.gz
linhes_pkgbuild-9bedd8cf62642d2c1ccec60000a70c3b9bd60e5e.tar.bz2
setup auto MV=>LinHES when checking out.
Diffstat (limited to 'abs/core-testing')
-rwxr-xr-xabs/core-testing/live-installer/checkout_MythVantage.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/abs/core-testing/live-installer/checkout_MythVantage.sh b/abs/core-testing/live-installer/checkout_MythVantage.sh
index bd43915..764e418 100755
--- a/abs/core-testing/live-installer/checkout_MythVantage.sh
+++ b/abs/core-testing/live-installer/checkout_MythVantage.sh
@@ -1,5 +1,6 @@
#!/bin/bash
MYDIR=`pwd`
+MYTHPATH="\/data\/LinHES-PKGBUILD\/abs\/core-testing\/mythtv\/stable\/mythtv\/src\/mythtv-0.21"
function setup_links {
rm mythinstall.bin
@@ -23,17 +24,22 @@ else
echo "updating exisiting tree"
cd MythVantage-app
git pull
- git checkout LinHES
+ git checkout master
+ git merge
cd -
fi
cd MythVantage-app
-git checkout LinHES
+git checkout master
#git checkout origin/LinHES
}
dl_repo
+sed -i "s/^MYTHPATH.*$/MYTHPATH\=\"$MYTHPATH\"/g" $MYDIR/src/MythVantage-app/mythinstall/mythinstall.pro
+sed -i "s/#define __MVAPP__/\/\/#define __MVAPP__/g" $MYDIR/src/MythVantage-app/mythinstall/mv_common.h
+sed -i "s/mythvantage/LinHES/g" $MYDIR/src/MythVantage-app/mythinstall/mv_common.h
+
cd $MYDIR/src/MythVantage-app/mythinstall && qmake
make || exit 1
cd $MYDIR/src/MythVantage-app/mythbeselect && qmake