diff options
author | Stan Shebs <shebs@codesourcery.com> | 1995-04-12 18:46:15 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1995-04-12 18:46:15 +0000 |
commit | 36ae618cfb9e469a75ba8c40f05828f05d2b6d2a (patch) | |
tree | 013aa0b8edf783f7d96a1a77e727ac284bde3af5 /ld/.Sanitize | |
parent | b8e2d17d954057ca0e4e1689ff75c9706b5a4ca2 (diff) | |
download | gdb-36ae618cfb9e469a75ba8c40f05828f05d2b6d2a.zip gdb-36ae618cfb9e469a75ba8c40f05828f05d2b6d2a.tar.gz gdb-36ae618cfb9e469a75ba8c40f05828f05d2b6d2a.tar.bz2 |
Always keep MPW support
Diffstat (limited to 'ld/.Sanitize')
-rw-r--r-- | ld/.Sanitize | 36 |
1 files changed, 3 insertions, 33 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize index c2ecdee..d5011ce 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -15,14 +15,6 @@ Do-first: -mpw_files="mpw-make.in mpw-config.in mpw-emipsidt.c ChangeLog.mpw" - -if ( echo $* | grep keep\-mpw > /dev/null ) ; then - keep_these_too="${mpw_files} ${keep_these_too}" -else - lose_these_too="${mpw_files} ${lose_these_too}" -fi - # All files listed between the "Things-to-keep:" line and the # "Files-to-sed:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize @@ -72,6 +64,9 @@ ldver.h ldwrite.c ldwrite.h lexsup.c +mpw-config.in +mpw-emipsidt.c +mpw-make.in mri.c mri.h scripttempl @@ -81,31 +76,6 @@ Things-to-lose: Do-last: -echo Looking for traces of \"mpw\"... - -# Don't try to clean directories here, as the 'mv' command will fail. -# Also, grep fails on NFS mounted directories. -if ( echo $* | grep keep\-mpw > /dev/null ) ; then - for i in * ; do - if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then - echo Keeping mpw traces in $i - fi - done -else - for i in * ; do - if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then - echo Removing traces of \"mpw\" out of $i... - cp $i new - sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/d' < $i > new - if [ -n "${safe}" -a ! -f .Recover/$i ] ; then - echo Caching $i in .Recover... - mv $i .Recover - fi - mv new $i - fi - done -fi - rce_files="configure.in Makefile.in" if ( echo $* | grep keep\-rce > /dev/null ) ; then |