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 <[email protected]>
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

Reply via email to