aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize33
1 files changed, 33 insertions, 0 deletions
diff --git a/.Sanitize b/.Sanitize
index 92a5870..01d6eb9 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -231,6 +231,39 @@ else
done
fi
+if [ -n "${verbose}" ] ; then
+ echo Processing \"jaguar\"...
+fi
+
+jaguar_files="config.sub configure.in cfg-ml-com.in"
+
+if ( echo $* | grep keep\-jaguar > /dev/null ) ; then
+ for i in $jaguar_files ; do
+ if test ! -d $i && (grep sanitize-jaguar $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping jaguar stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-jaguar $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"jaguar\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-jaguar/,/end-\sanitize\-jaguar/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
+
psion_files="config.sub configure.in"
if ( echo $* | grep keep\-psion > /dev/null ) ; then