Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor-browser-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
tor-browser-build
Commits
7c05ce80
Unverified
Commit
7c05ce80
authored
6 months ago
by
boklm
Browse files
Options
Downloads
Patches
Plain Diff
Bug 40799: Remove legacy locale support in tools/dmg2mar
parent
5abd1cb7
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1172
Bug 41374+40799+41363+41394: Make separate update_responses commit for each platform
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/dmg2mar
+2
-6
2 additions, 6 deletions
tools/dmg2mar
with
2 additions
and
6 deletions
tools/dmg2mar
+
2
−
6
View file @
7c05ce80
...
...
@@ -102,7 +102,7 @@ sub get_dmg_files_from_sha256sums {
next
unless
$filename
;
chomp
$filename
;
next
unless
$filename
=~
m/^$appname_dmg-macos-(.+)\.dmg$/
;
push
@files
,
{
filename
=>
$filename
,
version
=>
$
1
,
lang
=>
'
ALL
'
};
push
@files
,
{
filename
=>
$filename
,
version
=>
$
1
};
}
return
@files
;
}
...
...
@@ -116,11 +116,7 @@ sub convert_files {
print
"
Finished
$_
[2]
\n
";
});
foreach
my
$file
(
get_dmg_files_from_sha256sums
)
{
# The 'ja' locale is a special case: it is called 'ja-JP-mac'
# internally on OSX, but the dmg file still uses 'ja' to avoid
# confusing users.
my
$mar_lang
=
$file
->
{
lang
}
eq
'
ja
'
?
'
ja-JP-mac
'
:
$file
->
{
lang
};
my
$output
=
"
$appname_mar
-macos-
$file
->{version}_
$mar_lang
.mar
";
my
$output
=
"
$appname_mar
-macos-
$file
->{version}_ALL.mar
";
my
$step_name
=
"
$file
->{filename} ->
$output
";
print
"
Starting
$step_name
\n
";
$pm
->
start
(
$step_name
)
and
next
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment