diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-07 01:53:16 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-07 01:53:16 -0400 |
commit | 3dac0931d528bab55e635cce86e9a5b1dbe318f6 (patch) | |
tree | 08bb044b248033d00bbabb91f68488057a325a49 | |
parent | 74502ce21040ee57fca9f2e37a8e43888920a506 (diff) | |
download | sbo-maintainer-tools-3dac0931d528bab55e635cce86e9a5b1dbe318f6.tar.gz |
add -q to script detection grep
-rw-r--r-- | sbopkglint.d/10-docs.t.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbopkglint.d/10-docs.t.sh b/sbopkglint.d/10-docs.t.sh index 830e850..26e0255 100644 --- a/sbopkglint.d/10-docs.t.sh +++ b/sbopkglint.d/10-docs.t.sh @@ -32,7 +32,7 @@ if [ -d "$DOCDIR" ]; then files="$( find $DOCDIR -type f -perm /111 )" for f in $files; do - head -1 $f | grep '^#!' && continue; # script file + head -1 $f | grep -q '^#!' && continue; # script file badpermfiles+=" $f" done |