aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-08-23 19:46:22 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-08-23 19:46:22 +0000
commitaf9508b2fb16074a49716184d295faeb7c8d4379 (patch)
tree3c98f1a16141b2b7d679702df0b82f95ce156c60 /binutils
parenta65650793674ee2f9bec154d6165fb50e17fd7ad (diff)
downloadgdb-af9508b2fb16074a49716184d295faeb7c8d4379.zip
gdb-af9508b2fb16074a49716184d295faeb7c8d4379.tar.gz
gdb-af9508b2fb16074a49716184d295faeb7c8d4379.tar.bz2
nuke chill stuff from Makefile
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/.Sanitize34
1 files changed, 33 insertions, 1 deletions
diff --git a/binutils/testsuite/.Sanitize b/binutils/testsuite/.Sanitize
index 3894eea..cfe54ab 100644
--- a/binutils/testsuite/.Sanitize
+++ b/binutils/testsuite/.Sanitize
@@ -1,4 +1,4 @@
-# .Sanitize for deja-gnu.
+# .Sanitize for devo/binutils/testsuite
# Each directory to survive it's way into a release will need a file
# like this one called "./.Sanitize". All keyword lines must exist,
@@ -37,3 +37,35 @@ Things-to-lose:
Do-last:
+if [ -n "${verbose}" ] ; then
+ echo Thawing away the \"chill\"...
+fi
+
+# Don't try to clean directories here, as the 'mv' command will fail.
+# Also, grep fails on NFS mounted directories.
+if ( echo $* | grep keep\-chill > /dev/null ) ; then
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping chill stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Thawing the \"chill\" out of $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-chill/,/end-\sanitize\-chill/d' < $i > new
+ if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+ if [ -n "${verbose}" ] ; then
+ echo Caching $i in .Recover...
+ fi
+ mv $i .Recover
+ fi
+ mv new $i
+ fi
+ done
+fi