Fix license file generation; exclude itop-portal-base

This commit is contained in:
odain
2020-03-18 08:42:55 +01:00
parent 16ff51f3b7
commit dd96dec100

View File

@@ -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