Print this page
3882 remove xmod & friends

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/checkpaths.sh
          +++ new/usr/src/tools/scripts/checkpaths.sh
↓ open down ↓ 108 lines elided ↑ open up ↑
 109  109  # marked with ISUSED are always known to be good, thus the Latin quote
 110  110  # at the top of the file.
 111  111  #
 112  112  # The exception_list is generated from whichever input files are appropriate
 113  113  # for this workspace, so checking it obviates the need to check the inputs.
 114  114  
 115  115  if [ -r $SRC/tools/findunref/exception_list ]; then
 116  116          validate_paths -k ISUSED -r -e '^\*' $SRC/tools/findunref/exception_list
 117  117  fi
 118  118  
 119      -# These are straightforward.
 120      -if [ -d $SRC/xmod ]; then
 121      -        # If the closed source is not present, then don't validate it.
 122      -        if [ "$CLOSED_IS_PRESENT" = no ]; then
 123      -                excl_cry="-e ^usr/closed"
 124      -                excl_xmod="-e ^../closed"
 125      -        fi
 126      -        validate_paths $excl_cry $SRC/xmod/cry_files
 127      -        validate_paths $excl_xmod -b $SRC $SRC/xmod/xmod_files
 128      -fi
 129      -
 130  119  if [ -f $SRC/tools/opensolaris/license-list ]; then
 131  120          excl=
 132  121          if [ "$CLOSED_IS_PRESENT" = no ]; then
 133  122                  excl="-e ^usr/closed"
 134  123          fi
 135  124          sed -e 's/$/.descrip/' < $SRC/tools/opensolaris/license-list | \
 136  125                  validate_paths -n SRC/tools/opensolaris/license-list $excl
 137  126  fi
 138  127  
 139  128  # Finally, make sure the that (req|inc).flg files are in good shape.
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX