diff options
Diffstat (limited to 'usr/src/tools/scripts/checkpaths.sh')
| -rw-r--r-- | usr/src/tools/scripts/checkpaths.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/usr/src/tools/scripts/checkpaths.sh b/usr/src/tools/scripts/checkpaths.sh index 0ec887157d..1ac842780f 100644 --- a/usr/src/tools/scripts/checkpaths.sh +++ b/usr/src/tools/scripts/checkpaths.sh @@ -21,7 +21,7 @@ # # -# Copyright 2007 Sun Microsystems, Inc. All rights reserved. +# Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # #ident "%Z%%M% %I% %E% SMI" @@ -113,6 +113,15 @@ if [ -d $SRC/xmod ]; then validate_paths $excl_xmod -b $SRC $SRC/xmod/xmod_files fi +if [ -f $SRC/tools/opensolaris/license-list ]; then + excl= + if [ "$CLOSED_IS_PRESENT" = no ]; then + excl="-e ^usr/closed" + fi + sed -e 's/$/.descrip/' < $SRC/tools/opensolaris/license-list | \ + validate_paths $excl +fi + # Finally, make sure the that (req|inc).flg files are in good shape. # If SCCS files are not expected to be present, though, then don't # check them. |
