mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
9 lines
272 B
Bash
Executable File
9 lines
272 B
Bash
Executable File
#!/bin/bash
|
|
# Called within the build directory
|
|
for x in `find ./tmp/deploy/licenses -name "license.manifest"`; do cat $x|grep -E "GPLv3|GPL-3"; done | grep -v '|'
|
|
if [ $? = 1 ]; then
|
|
echo "GPLv3 components not found"
|
|
exit 0
|
|
fi
|
|
echo "GPLv3 components found"
|
|
exit 1 |