From 76d26e8ef975bc6cced61e880d0c3d60a9951f43 Mon Sep 17 00:00:00 2001 From: odain Date: Tue, 17 Mar 2020 18:59:18 +0100 Subject: [PATCH] Fix license generation tool --- .make/license/gen-community-license.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.make/license/gen-community-license.sh b/.make/license/gen-community-license.sh index c081a183f..897008165 100644 --- a/.make/license/gen-community-license.sh +++ b/.make/license/gen-community-license.sh @@ -34,7 +34,10 @@ do then continue fi - + if [ "$subfolder" == "datamodels" -a $(find $l -name module*.php|wc -l) -ne 0 ] + then + continue + fi dir=$(dirname $(dirname $l)) prod=$(echo $l| sed "s|$dir/||1") echo $l $subfolder