]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Fix Shellcheck warning in test/f
authorJeffrey Walton <noloader@gmail.com>
Tue, 14 May 2019 01:48:15 +0000 (21:48 -0400)
committerJeffrey Walton <noloader@gmail.com>
Tue, 14 May 2019 01:48:15 +0000 (21:48 -0400)
Also see http://github.com/koalaman/shellcheck. It should be available for install on your Linux box from the package manager.

test/f

diff --git a/test/f b/test/f
index 0c8cf88137d3b5382b052cc782eab62ee0474435..976f08b3ba67f3630b687bf2844d2dadf8e3c304 100755 (executable)
--- a/test/f
+++ b/test/f
@@ -8,6 +8,6 @@ rr.h tsig.h util.h zone.h"
 
 # we need two grep ldns_ ...
 for i in $FILES; do 
-        cpp -I.. ../ldns/$i  | egrep '.*? .*?\(.*' | grep ldns_  | \
+        cpp -I.. "../ldns/$i"  | grep -E '.*? .*?\(.*' | grep ldns_  | \
         awk '{ print $2 }' | sed 's/^\*//' | sed 's/(.*$//' | grep ldns_
 done