~midori/midori/trunk

« back to all changes in this revision

Viewing changes to tests/potfiles.sh

  • Committer: Christian Dywan
  • Date: 2013-12-12 18:53:23 UTC
  • mto: This revision was merged to the branch mainline in revision 6521.
  • Revision ID: christian.dywan@canonical.com-20131212185323-vnmcwqbaw0ddvmg4
Skip folders starting with _ from license and potfiles checks

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
echo Checking POTFILES.in for completeness
9
9
test -n "$SRCDIR" && cd $SRCDIR
10
10
test -z "$BLDDIR" && BLDDIR=_build
11
 
for i in $(find . -regextype posix-egrep \! -regex "./($BLDDIR|debian|tests)/.+" -a -regex './[^.]+.+[.](vala|c)'); do
 
11
for i in $(find . -regextype posix-egrep \! -regex "./($BLDDIR|_.+|debian|tests)/.+" -a -regex './[^.]+.+[.](vala|c)'); do
12
12
    grep -q $(basename $i) po/POTFILES.in || FILES="$FILES$i\n"
13
13
done
14
14
test -n "$FILES" && echo "$FILES...FAILED"