#!/bin/sh # Copyright 1998-2019 Lawrence Livermore National Security, LLC and other # HYPRE Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) testname=`basename $0 .sh` # Echo usage information case $1 in -h|-help) cat < check-license.files # Add these file back to the list egrep -LR "$LicStr" ./src/test/TEST_* | egrep '[.](sh|jobs)$' >> check-license.files egrep -LR "$LicStr" ./src/test/TEST_* | egrep 'TEST_.*/.*[.]in($|[.].*$)' >> check-license.files # Remove these individual files from the list and echo the result cat > check-license.remove <&2 rm -f check-license.remove check-license.files ### Next check for files that should not have the license, but do # blas and lapack '.c' files should not have an LLNL license egrep -lR "$LicStr" ./src/blas ./src/lapack | egrep '[.]/src/(blas|lapack)/.*[.]c' >&2