blob: 5f4ac5b92a76da10fc8f5db69040c3a90ae685ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#! /bin/bash
groups=`grep -rni "ssh:" $1 | sed 's/^.*name="//; s/".*$//'`
for group in $groups
do
if grep -rni "remote=" $1 | grep -Fq $group; then
if grep -Fq $group $2; then
continue
else
echo "ERROR: License mismatch between source and artifacts"
exit 1
fi
fi
done
|