Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
tor-browser-build
Commits
bfb21a2a
Verified
Commit
bfb21a2a
authored
Jun 06, 2022
by
boklm
Browse files
Bug 40497: Check that directory does not exist before starting macOS signing
parent
643fce43
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/signing/do-all-signing
View file @
bfb21a2a
...
...
@@ -31,6 +31,18 @@ function sync-builder-unsigned-to-local-signed {
"
$script_dir
/sync-builder-unsigned-to-local-signed"
}
function
macos-signer-directory-not-present
{
# To avoid doing two signings at the same time, or to avoid unknowingly
# using parts from a previous signing attempt, we check that the
# directory does not exist yet (see tor-browser-build#40497)
if
ssh
"
$ssh_host_macos_signer
"
"test -d
$tbb_version
"
then
echo
"The directory
$tbb_version
already exists on
$ssh_host_macos_signer
"
return
1
fi
return
0
}
function
sync-scripts-to-macos-signer
{
"
$script_dir
/sync-scripts-to-macos-signer"
}
...
...
@@ -168,6 +180,7 @@ function do_step {
do_step wait-for-finished-build
do_step sync-builder-unsigned-to-local-signed
do_step macos-signer-directory-not-present
do_step sync-scripts-to-macos-signer
do_step macos-signer-enable-network-proxy-settings
do_step macos-signer-gatekeeper-signing
...
...
boklm
@boklm
mentioned in issue
#40497 (closed)
·
Jun 08, 2022
mentioned in issue
#40497 (closed)
mentioned in issue #40497
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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