Mercurial > hg > soundsoftware-site
diff extra/soundsoftware/convert-external-repos.rb @ 1445:0c7b3bb73517 live
Fix underscores in idents (and make regex the same in both places it's used)
author | Chris Cannam |
---|---|
date | Tue, 22 Oct 2013 10:56:02 +0100 |
parents | b61a51fb42b9 |
children |
line wrap: on
line diff
--- a/extra/soundsoftware/convert-external-repos.rb Fri Oct 11 16:42:55 2013 +0100 +++ b/extra/soundsoftware/convert-external-repos.rb Tue Oct 22 10:56:02 2013 +0100 @@ -146,7 +146,7 @@ if project.identifier.empty? log("\tno identifier for project #{project.name}") next - elsif not project.identifier.match(/^[a-z0-9\-]+$/) + elsif not project.identifier.match(/^[a-z0-9_\-]+$/) log("\tinvalid identifier for project #{project.name} : #{project.identifier}"); next end