Alexandre Julliard : lxr: Run LXR update in the background since it' s so slow.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jul 17 12:45:19 CDT 2014


Module: tools
Branch: master
Commit: aeed6c973fa4b806bacf782a4f2011006fb6870d
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=aeed6c973fa4b806bacf782a4f2011006fb6870d

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Jul 11 20:26:49 2014 +0200

lxr: Run LXR update in the background since it's so slow.

---

 lxr/update-version | 4 +---
 wine_release       | 3 +--
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/lxr/update-version b/lxr/update-version
index 6a323c9..bed9714 100755
--- a/lxr/update-version
+++ b/lxr/update-version
@@ -16,10 +16,8 @@ fi
 
 version=$1
 
-tools_dir="/home/winehq/opt/git-tools"
-
 cd /home/winehq/opt/source
 
 (echo "wine-$version"; cat wine-versions) | uniq > wine-versions.new && mv -f wine-versions.new wine-versions
 
-$tools_dir/lxr/genxref --url=http://source.winehq.org --version=wine-$version
+./genxref --url=http://source.winehq.org --version=wine-$version
diff --git a/wine_release b/wine_release
index 7306aa6..af9e5a7 100755
--- a/wine_release
+++ b/wine_release
@@ -86,7 +86,6 @@ fi
 echo "INSERT INTO bugs.versions (value, product_id) VALUES(\"$version\",1)" | mysql
 
 # make cross reference database for LXR
-echo "==== UPDATING LXR ===="
-$tools_dir/lxr/update-version $version
+$tools_dir/lxr/update-version $version &
 
 # end




More information about the wine-cvs mailing list