# Each directory to survive it's way into a release will need a file
# like this one called "./.Sanitize". All keyword lines must exist,
# Each directory to survive it's way into a release will need a file
# like this one called "./.Sanitize". All keyword lines must exist,
+if ( echo $* | grep keep\-chill > /dev/null ) ; then
+ keep_these_too="chillrt test-chill"
+fi
+
+if ( echo $* | grep keep\-cygnus > /dev/null) ; then
+ keep_these_too="${keep_these_too} release release-info"
+fi
+
+
# All files listed between the "Things-to-keep:" line and the
# "Do-last:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
# All files listed between the "Things-to-keep:" line and the
# "Do-last:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
# The lines between the "Do-last:" line and the end of the file
# are executed as a /bin/sh shell script after everything else is
# The lines between the "Do-last:" line and the end of the file
# are executed as a /bin/sh shell script after everything else is
# Don't try to clean directories here, as the 'mv' command will fail.
# Also, grep fails on NFS mounted directories.
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
# Don't try to clean directories here, as the 'mv' command will fail.
# Also, grep fails on NFS mounted directories.
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
cp $i new
sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
cp $i new
sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
# Don't try to clean directories here, as the 'mv' command will fail.
# Also, grep fails on NFS mounted directories.
# Don't try to clean directories here, as the 'mv' command will fail.
# Also, grep fails on NFS mounted directories.
- if test ! -d $i && (grep sanitize-life $i > /dev/null) ; then
- echo Keeping life alive in $i
+ if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping chill stuff in $i
+ fi
- if test ! -d $i && (grep sanitize-life $i > /dev/null) ; then
- echo Beating the \"life\" out of $i...
+ if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Thawing the \"chill\" out of $i...
+ fi