checkpaths.sh (c0e7977a434048a8bc7386ea0e8befaa77a646cf) checkpaths.sh (a422476ddc8b07ee8e17a5962a46cd3b1f2ae17b)
1#!/bin/ksh -p
2#
3# CDDL HEADER START
4#
5# The contents of this file are subject to the terms of the
6# Common Development and Distribution License (the "License").
7# You may not use this file except in compliance with the License.
8#

--- 100 unchanged lines hidden (view full) ---

109# for this workspace, so checking it obviates the need to check the inputs.
110
111if [ -r $SRC/tools/findunref/exception_list ]; then
112 validate_paths -k ISUSED -r -e '^\*' $SRC/tools/findunref/exception_list
113fi
114
115if [ -f $SRC/tools/opensolaris/license-list ]; then
116 sed -e 's/$/.descrip/' < $SRC/tools/opensolaris/license-list | \
1#!/bin/ksh -p
2#
3# CDDL HEADER START
4#
5# The contents of this file are subject to the terms of the
6# Common Development and Distribution License (the "License").
7# You may not use this file except in compliance with the License.
8#

--- 100 unchanged lines hidden (view full) ---

109# for this workspace, so checking it obviates the need to check the inputs.
110
111if [ -r $SRC/tools/findunref/exception_list ]; then
112 validate_paths -k ISUSED -r -e '^\*' $SRC/tools/findunref/exception_list
113fi
114
115if [ -f $SRC/tools/opensolaris/license-list ]; then
116 sed -e 's/$/.descrip/' < $SRC/tools/opensolaris/license-list | \
117 validate_paths -n SRC/tools/opensolaris/license-list \
118 -e ^usr/closed
117 validate_paths -n SRC/tools/opensolaris/license-list
119fi
120
118fi
119
121# Finally, make sure the that (req|inc).flg files are in good shape.
122# If SCCS files are not expected to be present, though, then don't
123# check them.
124if [ ! -d "$CODEMGR_WS/Codemgr_wsdata" ]; then
125 f_flg='-f'
126fi
120validate_flg -f
127
121
128validate_flg $f_flg -e ^usr/closed/
129
130exit 0
122exit 0