summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-04-07 12:55:55 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-04-07 12:55:55 (GMT)
commitf1756a922e87bd2b7eb01bb8df5c00fa6ed896f5 (patch)
treeb404f9116467178257cd2afcb6a57e93d7c0bee2
parent6a9d486f7578ca0a7584f115b837e15d9d748c50 (diff)
downloaddefinitions-f1756a922e87bd2b7eb01bb8df5c00fa6ed896f5.tar.gz
Fix licensecheck.sh.
It was broken since the latest change in the workspace layout.
-rwxr-xr-xlicensecheck.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/licensecheck.sh b/licensecheck.sh
index 5ddd9ff..1592b56 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