~midori/midori/trunk

« back to all changes in this revision

Viewing changes to tests/license.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:
9
9
test -z $(which licensecheck) && echo ...SKIPPED: not installed && return 0
10
10
test -n "$SRCDIR" && cd $SRCDIR
11
11
test -z "$BLDDIR" && BLDDIR=_build
12
 
find . \! -path './.*/*' -a \! -path "./$BLDDIR/*" -a \! -path "./debian/*" | xargs licensecheck | grep UNKNOWN && exit 1
 
12
find . \! -path './.*/*' -a \! -path "./$BLDDIR/*" -a \! -path "./_*/*" -a \! -path "./debian/*" | xargs licensecheck | grep UNKNOWN && exit 1
13
13
echo ...OK