Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Refactor: Simplify and improve readability
[releng/global-jjb.git]
/
shell
/
logs-deploy.sh
diff --git
a/shell/logs-deploy.sh
b/shell/logs-deploy.sh
index
53cef70
..
bd41608
100644
(file)
--- a/
shell/logs-deploy.sh
+++ b/
shell/logs-deploy.sh
@@
-24,8
+24,7
@@
set -euf -o pipefail
# self-contained, we ensure it exists here.
mkdir -p "$WORKSPACE/archives"
-function get_pattern_opts()
-{
+get_pattern_opts () {
opts=()
for arg in ${ARCHIVE_ARTIFACTS:-}; do
opts+=("-p" "$arg")