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

mikeperry at torproject.org mikeperry at torproject.org
Fri Oct 24 23:56:04 UTC 2014


commit 9e26ef8acfaefd7d7a84338e1bdb75efc0087de8
Author: Nicolas Vigier <boklm at mars-attacks.org>
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',





More information about the tbb-commits mailing list