Module: tools
Branch: master
Commit: b8591704cf2f7f0ffa6f25273356beadaf1029f6
URL: http://source.winehq.org/git/tools.git/?a=commit;h=b8591704cf2f7f0ffa6f2527…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Fri Jun 19 19:31:26 2009 +0200
wine_release: Don't change directories when building makedep.
Run mysql last in case since it should only be done once.
---
wine_release | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/wine_release b/wine_release
index b5fd54c..11680a0 100755
--- a/wine_release
+++ b/wine_release
@@ -38,9 +38,6 @@ git clone -l -s -n git/wine.git wine-$version
rm -f wine
ln -s wine-$version wine
-# add version to bugzilla table
-echo "INSERT INTO bugs.versions (value, product_id) VALUES(\"$version\",1)" | mysql
-
# make cross reference database for LXR
# note that we must have write permission in this directory
echo "==== UPDATING LXR ===="
@@ -65,7 +62,7 @@ then
# update man page and documentation
echo "==== UPDATING DOCUMENTATION ===="
./configure --quiet --without-x --without-freetype
- cd tools && make makedep
+ (cd tools && make makedep)
manpages="\
loader/wine.man \
@@ -98,4 +95,7 @@ fi
rm -rf .git
+# add version to bugzilla table
+echo "INSERT INTO bugs.versions (value, product_id) VALUES(\"$version\",1)" | mysql
+
# end