Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
17547cc6
Verified
Commit
17547cc6
authored
Sep 02, 2022
by
Mattia Rizzolo
Browse files
reproducible debian live: shellcheck
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
ee995b43
Changes
1
Show whitespace changes
Inline
Side-by-side
bin/reproducible_debian_live_sync_result.sh
View file @
17547cc6
...
...
@@ -21,7 +21,8 @@ NODE=osuosl173-amd64.debian.net
rsync_remote_results
()
{
local
description
=
$1
local
origfile
=
$2
local
filename
=
$(
basename
"
$3
"
)
local
filename
filename
=
$(
basename
"
$3
"
)
echo
"
$(
date
-u
)
- Starting to sync
$description
to '
$filename
'."
# Copy the new results from the build node to the web server node
cd
"
$BASE
"
/
"
$PROJECT
"
...
...
@@ -36,7 +37,8 @@ rsync_remote_results() {
delete_live_build_file
()
{
local
description
=
$1
local
filetodelete
=
$2
local
filename
=
$(
basename
"
$filetodelete
"
)
local
filename
filename
=
$(
basename
"
$filetodelete
"
)
echo
"
$(
date
-u
)
- Delete
$description
: '
$filename
'."
cd
"
$BASE
"
/
"
$PROJECT
"
if
[[
"
$filename
"
!=
"
$filetodelete
"
]]
;
then
...
...
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