[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser-bundle/master] update_responses: accept '-' in version numbers



commit 9e26ef8acfaefd7d7a84338e1bdb75efc0087de8
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxxxx>
Date:   Thu Oct 2 14:13:55 2014 +0200

    update_responses: accept '-' in version numbers
    
    Version numbers like '4.0-alpha-2' contain '-'.
---
 tools/update-responses/update_responses |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/update-responses/update_responses b/tools/update-responses/update_responses
index e94c15f..e86979b 100755
--- a/tools/update-responses/update_responses
+++ b/tools/update-responses/update_responses
@@ -60,7 +60,7 @@ sub get_version_files {
             };
             next;
         }
-        if ($file =~ m/^tor-browser-([^-]+)-([^-]+)-${version}_(.+)\.mar$/) {
+        if ($file =~ m/^tor-browser-([^-]+)-(.+)-${version}_(.+)\.mar$/) {
             my ($os, $from_version, $lang) = ($1, $2, $3);
             $files->{$os}{$lang}{partial}{$from_version} = {
                 type => 'partial',



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits