diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-04-07 13:55:55 +0100 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-04-07 13:55:55 +0100 |
commit | f1756a922e87bd2b7eb01bb8df5c00fa6ed896f5 (patch) | |
tree | b404f9116467178257cd2afcb6a57e93d7c0bee2 /licensecheck.sh | |
parent | 6a9d486f7578ca0a7584f115b837e15d9d748c50 (diff) | |
download | definitions-f1756a922e87bd2b7eb01bb8df5c00fa6ed896f5.tar.gz |
Fix licensecheck.sh.
It was broken since the latest change in the workspace layout.
Diffstat (limited to 'licensecheck.sh')
-rwxr-xr-x | licensecheck.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/licensecheck.sh b/licensecheck.sh index 5ddd9ffb..1592b568 100755 --- a/licensecheck.sh +++ b/licensecheck.sh @@ -31,7 +31,7 @@ if [ -z "$1" ]; then exit 1 fi -workspace="$PWD"/../.. +workspace="$PWD"/../../.. system="$1" gplv3_chunks="\ @@ -87,10 +87,10 @@ repos=`for stratum in $strata; do for repo in $repos; do if ! (echo $gplv3_repos | grep -wq "$repo") && \ - [ -d "$workspace/upstream:$repo" ] ; then + [ -d "$workspace/upstream/$repo" ] ; then echo "$repo" - perl licensecheck.pl -r "$workspace/upstream:$repo" | \ - cut -d: -f4- | sort -u + perl licensecheck.pl -r "$workspace/upstream/$repo" | \ + cut -d: -f2- | sort -u echo fi done |