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

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

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