summaryrefslogtreecommitdiff
path: root/licensecheck/checkfile.sh
blob: 4b7a9d9f3c236260dac3da996d5cf7de87d59bfd (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/bash

export name="$2"
export name=${name##../../client-data/}

grep " $name " $1 >/dev/null
if [ "$?" != 0 ]; then
    echo "Missing license for $name"
fi