aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-07 01:53:16 -0400
committerB. Watson <yalhcru@gmail.com>2022-04-07 01:53:16 -0400
commit3dac0931d528bab55e635cce86e9a5b1dbe318f6 (patch)
tree08bb044b248033d00bbabb91f68488057a325a49 /sbopkglint.d
parent74502ce21040ee57fca9f2e37a8e43888920a506 (diff)
downloadsbo-maintainer-tools-3dac0931d528bab55e635cce86e9a5b1dbe318f6.tar.gz
add -q to script detection grep
Diffstat (limited to 'sbopkglint.d')
-rw-r--r--sbopkglint.d/10-docs.t.sh2
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