Marcel Telka
2023-10-23 c03bb6658effe534d5960e2bfa3a714b04c77b60
tools/python-integrate-project: allow to set LICENSE_FILE in hook-begin

1 files modified
3 ■■■■ changed files
tools/python-integrate-project 3 ●●●● patch | view | raw | blame | history
tools/python-integrate-project
@@ -107,6 +107,7 @@
VERSION=
HOMEPAGE=
DOWNLOAD_URL=
LICENSE_FILE=
# Execute hook-begin snippet
if [[ -f "$CONF" ]] ; then
@@ -307,7 +308,7 @@
LICENSE=
LICFILE=
for f in $(get_PKGINFO_entry "License-File") LICENSE LICENSE.rst LICENSE.txt ; do
for f in $LICENSE_FILE $(get_PKGINFO_entry "License-File") LICENSE LICENSE.rst LICENSE.txt ; do
    [[ -f "$SOURCE_DIR$COMPONENT_SUBDIR/$f" ]] || continue
    LICFILE="$f"