From 1e9becb61692c76f5b14a4d1bca721682c7b6872 Mon Sep 17 00:00:00 2001 From: Dave Musicant / thinkpad Date: Tue, 3 May 2022 12:57:57 -0500 Subject: [PATCH] removed eval as per linter recommendation https://github.com/koalaman/shellcheck/wiki/SC2294 --- gitwatch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitwatch.sh b/gitwatch.sh index 82c8820..0982d64 100755 --- a/gitwatch.sh +++ b/gitwatch.sh @@ -317,7 +317,7 @@ diff-lines() { # process some time (in case there are a lot of changes or w/e); if there is already a timer # running when we receive an event, we kill it and start a new one; thus we only commit if there # have been no changes reported during a whole timeout period -eval "$INW" "${INW_ARGS[@]}" | while read -r line; do +"$INW" "${INW_ARGS[@]}" | while read -r line; do # is there already a timeout process running? if [[ -n $SLEEP_PID ]] && kill -0 "$SLEEP_PID" &> /dev/null; then # kill it and wait for completion