Refactor: use POSIX shell function declaration
[releng/global-jjb.git] / shell / logs-deploy.sh
index 53cef70..bd41608 100644 (file)
@@ -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")