mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 12:49:02 +02:00
12 lines
316 B
Bash
Executable File
12 lines
316 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# 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 |