From ce27b5ebce6f0a5aceae053dccac3a287cee038e Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Wed, 26 Feb 2020 13:46:59 +0100 Subject: [PATCH] tool: support hyphen in depot-user name (depot.inc) Fixes #3668 --- tool/run/depot.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tool/run/depot.inc b/tool/run/depot.inc index e0e6611239..cddf405329 100644 --- a/tool/run/depot.inc +++ b/tool/run/depot.inc @@ -41,21 +41,21 @@ set _missing_depot_archives {} # Pattern to parse a version-less archive path into , , # proc _depot_archive_path_pattern { } { - return {^([\w\d]+)/([\w]+)/([\w\d\-_]+)$} } + return {^([\w\d\-]+)/([\w]+)/([\w\d\-_]+)$} } # # Pattern to parse a versioned archive path into , , , # proc _depot_archive_versioned_path_pattern { } { - return {^([\w\d]+)/([\w]+)/([\w\d\-_]+)/([\w\d\-\._]+)$} } + return {^([\w\d\-]+)/([\w]+)/([\w\d\-_]+)/([\w\d\-\._]+)$} } # # Pattern to parse a binary archive path into , , . # proc _depot_bin_archive_path_pattern { } { - return {^([\w\d]+)/bin/([\w\d]+)/([\w\d\-_]+)$} } + return {^([\w\d\-]+)/bin/([\w\d]+)/([\w\d\-_]+)$} } #