summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgue5t <gue5t@midori.launchpad>2015-04-19 09:43:35 -0500
committergue5t <gue5t@midori.launchpad>2015-04-19 09:43:35 -0500
commit97c056f4029639fa5a4dddf2dd05849babcf846a (patch)
tree9de189c8be0e07099d51c62be5f783439590aed0
parent38f2f7ead604f5f19fb0949b8c6dd0d5b928dd8e (diff)
downloadmidori-97c056f4029639fa5a4dddf2dd05849babcf846a.tar.gz
use exit instead of return in license script
-rwxr-xr-xtests/license.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/license.sh b/tests/license.sh
index 728209c7..6320e40f 100755
--- a/tests/license.sh
+++ b/tests/license.sh
@@ -6,7 +6,7 @@
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
echo Running 'licensecheck'
-test -z $(which licensecheck) && echo ...SKIPPED: not installed && return 0
+test -z $(which licensecheck) && echo ...SKIPPED: not installed && exit 0
test -n "$SRCDIR" && cd $SRCDIR
test -z "$BLDDIR" && BLDDIR=_build
find . \! -path './.*/*' -a \! -path "./$BLDDIR/*" -a \! -path "./_*/*" -a \! -path "./debian/*" | xargs licensecheck | grep UNKNOWN && exit 1