From dd96dec100be83c75b95a9c8eaa979619108945e Mon Sep 17 00:00:00 2001 From: odain Date: Wed, 18 Mar 2020 08:42:55 +0100 Subject: [PATCH] Fix license file generation; exclude itop-portal-base --- .make/license/gen-community-license.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.make/license/gen-community-license.sh b/.make/license/gen-community-license.sh index c081a183f..15a3c6ea5 100644 --- a/.make/license/gen-community-license.sh +++ b/.make/license/gen-community-license.sh @@ -34,7 +34,13 @@ do then continue fi - + if [ "$subfolder" == "datamodels" ] + then + if [ $(find $l -name module*.php|wc -l) -ne 0 -o $(echo "$l"|grep -c "itop-portal-base") -ne 0 ] + then + continue + fi + fi dir=$(dirname $(dirname $l)) prod=$(echo $l| sed "s|$dir/||1") echo $l $subfolder