~midori/midori/trunk

« back to all changes in this revision

Viewing changes to tests/license.sh

  • Committer: gue5t
  • Date: 2015-04-19 14:43:35 UTC
  • mto: This revision was merged to the branch mainline in revision 6939.
  • Revision ID: gue5t@midori.launchpad-20150419144335-dhquz9fsmp2llo48
use exit instead of return in license script

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
# License as published by the Free Software Foundation; either
7
7
# version 2.1 of the License, or (at your option) any later version.
8
8
echo Running 'licensecheck'
9
 
test -z $(which licensecheck) && echo ...SKIPPED: not installed && return 0
 
9
test -z $(which licensecheck) && echo ...SKIPPED: not installed && exit 0
10
10
test -n "$SRCDIR" && cd $SRCDIR
11
11
test -z "$BLDDIR" && BLDDIR=_build
12
12
find . \! -path './.*/*' -a \! -path "./$BLDDIR/*" -a \! -path "./_*/*" -a \! -path "./debian/*" | xargs licensecheck | grep UNKNOWN && exit 1