From 9bedd8cf62642d2c1ccec60000a70c3b9bd60e5e Mon Sep 17 00:00:00 2001 From: James Meyer Date: Wed, 5 Nov 2008 15:38:08 -0600 Subject: setup auto MV=>LinHES when checking out. --- abs/core-testing/live-installer/checkout_MythVantage.sh | 10 ++++++++-- 1 file 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 -- cgit v0.12