summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlicensecheck/checkfile.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/licensecheck/checkfile.sh b/licensecheck/checkfile.sh
index 1a32edc..ea893d5 100755
--- a/licensecheck/checkfile.sh
+++ b/licensecheck/checkfile.sh
@@ -5,5 +5,8 @@ export name=${name##../../client-data/}
grep " $name " $1 >/dev/null
if [ "$?" != 0 ]; then
- echo "Missing license for $name"
+ grep " $name " $1 >/dev/null
+ if [ "$?" != 0 ]; then
+ echo "Missing license for $name"
+ fi
fi