Module: tools Branch: master Commit: 4fe66f8d3a5077f6e8f96d66b113994973fb11ee URL: http://source.winehq.org/git/tools.git/?a=commit;h=4fe66f8d3a5077f6e8f96d66b...
Author: Alexandre Julliard julliard@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;