Alexandre Julliard : patches: Allow specifying the directory that contains the patch data.

Alexandre Julliard julliard at winehq.org
Fri Aug 30 10:58:54 CDT 2013


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Aug 29 16:31:00 2013 +0200

patches: Allow specifying the directory that contains the patch data.

---

 patches/update |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/patches/update b/patches/update
index baf2a2a..52d4d88 100755
--- a/patches/update
+++ b/patches/update
@@ -84,7 +84,7 @@ my @legend =
                  "<li>The <a href=\"//testbot.winehq.org/\">testbot</a> detected new failures on Windows.</li></ul>" ],
 );
 
-my $dir = "$ENV{HOME}/patches";
+my $dir = $ARGV[0] || "$ENV{HOME}/patches";
 my $dest = "/home/winehq/opt/source/patches";
 my %patches;
 




More information about the wine-cvs mailing list