mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
316 B
Executable File
316 B
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