Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthew Finkel
tor-browser-build
Commits
5d5401f7
Commit
5d5401f7
authored
Jun 26, 2018
by
Georg Koppen
Browse files
Merge remote-tracking branch 'boklm/bug_26489'
parents
ce2f13cf
1633185d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/dmg2mar
View file @
5d5401f7
...
...
@@ -36,9 +36,10 @@ use Parallel::ForkManager;
use
Cwd
;
# If the application is not TorBrowser (for instance, TorMessenger)
# set the application name in the TOR_APPNAME_BUNDLE_OSX and in
# the TOR_APPNAME_MARFILE environment variables
my
$appname
=
$ENV
{
TOR_APPNAME_BUNDLE_OSX
}
//
'
TorBrowser
';
# set the application name in the TOR_APPNAME_BUNDLE_OSX,
# TOR_APPNAME_DMGFILE and TOR_APPNAME_MARFILE environment variables
my
$appname
=
$ENV
{
TOR_APPNAME_BUNDLE_OSX
}
//
'
Tor Browser
';
my
$appname_dmg
=
$ENV
{
TOR_APPNAME_DMGFILE
}
//
'
TorBrowser
';
my
$appname_mar
=
$ENV
{
TOR_APPNAME_MARFILE
}
//
'
tor-browser
';
sub
exit_error
{
...
...
@@ -95,7 +96,7 @@ sub get_dmg_files_from_sha256sums {
foreach
my
$line
(
read_file
('
sha256sums-unsigned-build.txt
'))
{
my
(
undef
,
$filename
)
=
split
'
',
$line
;
chomp
$filename
;
next
unless
$filename
=~
m/^$appname-(.+)-osx64_(.+)\.dmg$/
;
next
unless
$filename
=~
m/^$appname
_dmg
-(.+)-osx64_(.+)\.dmg$/
;
push
@files
,
{
filename
=>
$filename
,
version
=>
$
1
,
lang
=>
$
2
};
}
return
@files
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment