You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2022/12/01 08:50:15 UTC

[accumulo] branch 2.1 updated: Fix shellcheck

This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/2.1 by this push:
     new 1385509dde Fix shellcheck
1385509dde is described below

commit 1385509dde6a1eafb17e346ed45f0cb1d6e76462
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Thu Dec 1 01:55:01 2022 -0500

    Fix shellcheck
    
    Newer versions of shellcheck warn due to https://www.shellcheck.net/wiki/SC2294
---
 assemble/build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/assemble/build.sh b/assemble/build.sh
index 6661bbaffa..38321484d6 100755
--- a/assemble/build.sh
+++ b/assemble/build.sh
@@ -52,9 +52,9 @@ fail() {
 }
 runLog() {
   local o
-  o=$1 && shift && echo "$(green Running) $(yellow "$@" '>>' "$o")" && echo Running "$@" >>"$o" && eval "$@" >>"$o"
+  o=$1 && shift && echo "$(green Running) $(yellow "$@" '>>' "$o")" && echo Running "$*" >>"$o" && "$@" >>"$o"
 }
-run() { echo "$(green Running) $(yellow "$@")" && eval "$@"; }
+run() { echo "$(green Running) $(yellow "$@")" && "$@"; }
 
 currentBranch() {
   local b