From f7d88e3ba8235a764640a6533c38a681931ef420 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 12 Feb 2018 11:35:08 +0100 Subject: [PATCH] Make sure only "lib" and "bin" are searched and "target" dirs are ignores --- scripts/license-headers-updated | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" \