Ver Fonte

Allow GREPFLAGS to expand to mutiple words

George Jones há 1 ano atrás
pai
commit
5fb56faac6
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      rc.local/latest.sh

+ 1 - 1
rc.local/latest.sh

@@ -268,7 +268,7 @@ EOF2
         -regex ".*${WHAT}.*" \
         \
         $(: COMMENT run grep if requested: "${GREPFLAGS[*]}") \
-        "${GREPFLAGS[*]}" && \
+        ${GREPFLAGS[*]} && \
         \
         $(: COMMENT If find finished, remove RUNNING file "${RUNNING}".  Timeout will leave it) \
          /bin/rm -f "$RUNNING" \