From f1756a922e87bd2b7eb01bb8df5c00fa6ed896f5 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Mon, 7 Apr 2014 13:55:55 +0100 Subject: Fix licensecheck.sh. It was broken since the latest change in the workspace layout. --- licensecheck.sh | 8 ++++---- 1 file 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 -- cgit v1.2.1