mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
utils/test-pkg: always run a global legal-info
Instead of limiting it to the package under test, we run it globally. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
09dd9d1755
commit
17cd914917
@ -127,10 +127,8 @@ build_one() {
|
|||||||
|
|
||||||
# legal-info done systematically, because some packages have different
|
# legal-info done systematically, because some packages have different
|
||||||
# sources depending on the configuration (e.g. lua-5.2 vs. lua-5.3)
|
# sources depending on the configuration (e.g. lua-5.2 vs. lua-5.3)
|
||||||
if [ -n "${pkg}" ]; then
|
if ! make O="${dir}" legal-info >> "${dir}/logfile" 2>&1; then
|
||||||
if ! make O="${dir}" "${pkg}-legal-info" >> "${dir}/logfile" 2>&1; then
|
return 3
|
||||||
return 3
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user