diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1995-10-18 20:23:39 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1995-10-18 20:23:39 +0000 |
commit | dee64d723f9778fb962e7744b602555c3089860e (patch) | |
tree | 8f23d10f998bbf9dbac32ddef120a595831f4641 /.Sanitize | |
parent | de5ebe2eba57a3b0fcdc4dd28b265378b93ddd6a (diff) | |
download | gdb-dee64d723f9778fb962e7744b602555c3089860e.zip gdb-dee64d723f9778fb962e7744b602555c3089860e.tar.gz gdb-dee64d723f9778fb962e7744b602555c3089860e.tar.bz2 |
jaguar support.
Diffstat (limited to '.Sanitize')
-rw-r--r-- | .Sanitize | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -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 |