#!/bin/sh scancode --copyright --license --json-pp $1/master.json -n 128 --license-diag --license-text --ignore='Documentation/*' --ignore='LICENSES/*' . cd $1 ../lcheck.py --exclude='Documentation,LICENSES' --dropmodule --dropexport -v -f stats master.json >stats.txt