Skip to content

Commit

Permalink
(license test) fix docqueries license test
Browse files Browse the repository at this point in the history
  • Loading branch information
cvvergara committed Oct 14, 2024
1 parent 54bc910 commit 7f51b7b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/scripts/test_license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ mylicensecheck() {
}

DIR=$(git rev-parse --show-toplevel)

pushd "${DIR}" > /dev/null || exit
missing=$(! { mylicensecheck src & mylicensecheck sql & mylicensecheck include & mylicensecheck pgtap;} | grep "No copyright\|UNKNOWN")
{ mylicensecheck src & mylicensecheck sql & mylicensecheck include & mylicensecheck pgtap;} | grep "No copyright\|UNKNOWN"
missing1=$(mylicensecheck doc | grep "No copyright")
missing2=$(grep --files-without-match 'Creative Commons' doc/*/*.rst)
missing3=$(mylicensecheck docqueries | grep "No copyright")
missing4=$(grep --files-without-match 'Creative Commons' "$(git ls-files docqueries | grep '.sql')")
missing4=$(grep --files-without-match 'Creative Commons' docqueries/*/*.sql)
popd > /dev/null || exit

#mylicensecheck doc
Expand Down

0 comments on commit 7f51b7b

Please sign in to comment.