summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-02-12 11:35:08 +0100
committerMatthias Beyer <mail@beyermatthias.de>2018-02-18 20:03:50 +0100
commitf7d88e3ba8235a764640a6533c38a681931ef420 (patch)
tree8a21e49013928f16f2f2fb6c3ba22ddfbdd422dd /scripts
parentb586e13a98e1a5b7ce791598626bd9b6ec883efc (diff)
Make sure only "lib" and "bin" are searched and "target" dirs are ignores
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/license-headers-updated2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/license-headers-updated b/scripts/license-headers-updated
index cbd8cfe4..8358baff 100755
--- a/scripts/license-headers-updated
+++ b/scripts/license-headers-updated
@@ -18,7 +18,7 @@ check() {
}
}
-find -name "*.rs" -type f | while read filename; do
+find lib bin -name "*.rs" -type f | grep -v target | while read filename; do
check "$filename" 2 \
"imag - the personal information management suite for the commandline" \
"Description line" \