Module: tools Branch: master Commit: 2a027089332c582144459c8fd643471f61708fa1 URL: http://source.winehq.org/git/tools.git/?a=commit;h=2a027089332c582144459c8fd...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Oct 17 19:03:16 2008 +0200
wine_release: Fix cleanup of git tree when not building documentation.
---
wine_release | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/wine_release b/wine_release index f02434b..0375494 100755 --- a/wine_release +++ b/wine_release @@ -58,11 +58,12 @@ cd ../..
(echo "wine-$version"; cat wine-versions) | uniq > wine-versions.new && mv -f wine-versions.new wine-versions
+cd wine-$version + if [ "$branch" = "master" ] then # update man page and documentation echo "==== UPDATING DOCUMENTATION ====" - cd wine-$version ./configure --quiet --without-x --without-freetype
manpages="\ @@ -89,10 +90,11 @@ then # Wine API Stats echo "==== UPDATING WINE API STATS PAGE ====" $tools_dir/winapi_stats > winapi_stats.template && mv -f winapi_stats.template $templates_dir/en/winapi_stats.template + + # cleanup source tree + git clean -q -d -x -f fi
-# cleanup source tree -git clean -q -d -x -f rm -rf .git
# end