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
c8e58934
Commit
c8e58934
authored
Sep 16, 2022
by
Holger Levsen
Browse files
reproducible Debian live: properly deal with files which might not exist
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
867fd566
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_debian_live_build.sh
View file @
c8e58934
...
@@ -34,13 +34,10 @@ cleanup() {
...
@@ -34,13 +34,10 @@ cleanup() {
local
RESULT
=
$1
local
RESULT
=
$1
output_echo
"Publishing results."
output_echo
"Publishing results."
# Remove previously published files
# Remove previously published files if they exist
# Ignore the error code, because the file might not be present
[
!
-f
${
DESKTOP
}
-
${
SUITE
}
.iso
]
||
publish_file delete ISOfile
${
DESKTOP
}
-
${
SUITE
}
.iso
set
+e
[
!
-f
${
DESKTOP
}
-
${
SUITE
}
.txt
]
||
publish_file delete Summary
${
DESKTOP
}
-
${
SUITE
}
.txt
publish_file delete ISOfile
${
DESKTOP
}
-
${
SUITE
}
.iso
[
!
-f
${
DESKTOP
}
-
${
SUITE
}
.html
]
||
publish_file delete DiffoscopeOutput
${
DESKTOP
}
-
${
SUITE
}
.html
publish_file delete Summary
${
DESKTOP
}
-
${
SUITE
}
.txt
publish_file delete DiffoscopeOutput
${
DESKTOP
}
-
${
SUITE
}
.html
set
-e
if
[
"
${
RESULT
}
"
==
"success"
]
;
then
if
[
"
${
RESULT
}
"
==
"success"
]
;
then
output_echo
"Info: no differences found."
output_echo
"Info: no differences found."
...
...
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