diff options
author | Christian Dywan <christian.dywan@canonical.com> | 2013-12-12 19:53:23 +0100 |
---|---|---|
committer | Christian Dywan <christian.dywan@canonical.com> | 2013-12-12 19:53:23 +0100 |
commit | f2e8e6307f2063409ac15459f22ce88d15c2029c (patch) | |
tree | 73e0ee9534b99e5feac4d5849fc57b99f8a8d1d6 /tests/potfiles.sh | |
parent | fa521a7da856bb4f09e3688701a6785b789df8f0 (diff) | |
download | midori-git-f2e8e6307f2063409ac15459f22ce88d15c2029c.tar.gz |
Skip folders starting with _ from license and potfiles checks
Diffstat (limited to 'tests/potfiles.sh')
-rwxr-xr-x | tests/potfiles.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/potfiles.sh b/tests/potfiles.sh index 655dd29e..e6330c66 100755 --- a/tests/potfiles.sh +++ b/tests/potfiles.sh @@ -8,7 +8,7 @@ echo Checking POTFILES.in for completeness test -n "$SRCDIR" && cd $SRCDIR test -z "$BLDDIR" && BLDDIR=_build -for i in $(find . -regextype posix-egrep \! -regex "./($BLDDIR|debian|tests)/.+" -a -regex './[^.]+.+[.](vala|c)'); do +for i in $(find . -regextype posix-egrep \! -regex "./($BLDDIR|_.+|debian|tests)/.+" -a -regex './[^.]+.+[.](vala|c)'); do grep -q $(basename $i) po/POTFILES.in || FILES="$FILES$i\n" done test -n "$FILES" && echo "$FILES...FAILED" |