From 844cbe1b3318d776b8ecb2f8fa65a15fdc08b6d7 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 17 Dec 2010 21:19:09 +0100 Subject: [PATCH] mkpkg_xbmc-dharma-final: use version from latest commit, some fixes Signed-off-by: Stephan Raue --- tools/mkpkg/mkpkg_xbmc-dharma-final | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/tools/mkpkg/mkpkg_xbmc-dharma-final b/tools/mkpkg/mkpkg_xbmc-dharma-final index 61b250b1ad..c3bbce00ad 100755 --- a/tools/mkpkg/mkpkg_xbmc-dharma-final +++ b/tools/mkpkg/mkpkg_xbmc-dharma-final @@ -5,16 +5,14 @@ REV="10.0-Dharma" echo "getting sources..." svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/tags/$REV xbmc-$REV -# echo "getting version..." -# cd xbmc-dharma-latest -# SVN_REV=`LANG=C svn info 2>/dev/null | grep Revision: | sed -e 's/.*\: //'` -# echo $SVN_REV -# cd .. +echo "getting version..." + cd xbmc-$REV + SVN_REV=`LANG=C svn info 2>/dev/null | grep Rev: | sed -e 's/.*\: //'` + echo $SVN_REV + cd .. -# echo "copying sources..." -# rm -rf xbmc-10.0-Dharma -# cp -R xbmc-dharma-latest xbmc-dharma-$SVN_REV -# echo "$SVN_REV" > xbmc-dharma-$SVN_REV/svn.version +echo "copying sources..." + echo "$SVN_REV" > xbmc-$REV/svn.version echo "cleaning sources..." find xbmc-$REV -name .svn -exec rm -rf {} ";" @@ -46,6 +44,6 @@ echo "packing sources..." tar cvjf xbmc-$REV.tar.bz2 xbmc-$REV tar cvjf xbmc-theme-Confluence-$REV.tar.bz2 xbmc-theme-Confluence-$REV -echo "remove temporary sourcedir..." - rm -rf xbmc-$REV - rm -rf xbmc-theme-Confluence-$REV +# echo "remove temporary sourcedir..." +# rm -rf xbmc-$REV +# rm -rf xbmc-theme-Confluence-$REV