summaryrefslogtreecommitdiff
path: root/usr/src/tools/scripts/checkpaths.sh
diff options
context:
space:
mode:
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>2013-10-15 00:21:04 -0400
committerRichard Lowe <richlowe@richlowe.net>2013-10-23 19:52:25 -0400
commitc0e7977a434048a8bc7386ea0e8befaa77a646cf (patch)
tree283ae7c385818ecd7d479cdfb593604c703193ac /usr/src/tools/scripts/checkpaths.sh
parente7eebcf69de21d2c4df15f003919cdb19b61c694 (diff)
downloadillumos-joyent-c0e7977a434048a8bc7386ea0e8befaa77a646cf.tar.gz
4027 remove CLOSED_BUILD
4028 remove CLOSED_IS_PRESENT 4029 remove tonic build bits Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/tools/scripts/checkpaths.sh')
-rw-r--r--usr/src/tools/scripts/checkpaths.sh21
1 files changed, 5 insertions, 16 deletions
diff --git a/usr/src/tools/scripts/checkpaths.sh b/usr/src/tools/scripts/checkpaths.sh
index 836ed71653..cf74c7362c 100644
--- a/usr/src/tools/scripts/checkpaths.sh
+++ b/usr/src/tools/scripts/checkpaths.sh
@@ -59,11 +59,6 @@ else
rootlist="$CODEMGR_WS/proto/root_sparc $CODEMGR_WS/proto/root_i386"
fi
-# If the closed source is not present, then exclude IKE from validation.
-if [ "$CLOSED_IS_PRESENT" = no ]; then
- excl="-e ^usr/include/ike/"
-fi
-
for ROOT in $rootlist
do
case "$ROOT" in
@@ -84,7 +79,8 @@ do
# the svr4-specific usr/src/pkgdefs
#
[ -f $SRC/pkgdefs/etc/exception_list_$arch ] && \
- validate_paths '-s/\s*'$arch'$//' $excl -b $ROOT \
+ validate_paths '-s/\s*'$arch'$//' \
+ -e ^usr/include/ike/ -b $ROOT \
$args $SRC/pkgdefs/etc/exception_list_$arch
#
# These are the new-style packaging exception lists,
@@ -117,12 +113,9 @@ if [ -r $SRC/tools/findunref/exception_list ]; then
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 -n SRC/tools/opensolaris/license-list $excl
+ validate_paths -n SRC/tools/opensolaris/license-list \
+ -e ^usr/closed
fi
# Finally, make sure the that (req|inc).flg files are in good shape.
@@ -131,11 +124,7 @@ fi
if [ ! -d "$CODEMGR_WS/Codemgr_wsdata" ]; then
f_flg='-f'
fi
-# If the closed source is not present, then don't validate it.
-if [ "$CLOSED_IS_PRESENT" = no ]; then
- excl="-e ^usr/closed/"
-fi
-validate_flg $f_flg $excl
+validate_flg $f_flg -e ^usr/closed/
exit 0