bin/briar_resign.rb in briar-1.2.1 vs bin/briar_resign.rb in briar-1.2.2

- old
+ new

@@ -53,10 +53,15 @@ puts "'#{mobile_prov}' must exist at path" end exit 1 end - wildcard = args[2] || Briar::Environment.variable('BRIAR_TEAM_IDENTIFIER') + + wildcard = args[2] || + Briar::Environment.variable('BRIAR_WILDCARD_IDENTIFIER') || + Briar::Environment.variable('BRIAR_TEAM_IDENTIFIER') || + Briar::Environment.variable('BRIAR_APP_PREFIX_IDENTIFIER') || + unless wildcard.length == 10 msg 'error' do puts "'#{wildcard}' must have 10 characters eg 'RWTD8QPG2C'" end exit 1