diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/.Sanitize | 25 | ||||
-rw-r--r-- | ld/config/.Sanitize | 15 | ||||
-rw-r--r-- | ld/emulparams/.Sanitize | 16 |
3 files changed, 0 insertions, 56 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize index da8143e..1c69553 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -94,31 +94,6 @@ Things-to-lose: Do-last: -echo Looking for signs of \"v9\"... - -# 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 - echo Keeping v9 stuff in $i - fi - done -else - for i in * ; do - if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then - echo Cleaning the \"v9\" out of $i... - cp $i new - sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/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 - echo Looking for traces of \"mpw\"... # Don't try to clean directories here, as the 'mv' command will fail. diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize index a5957d1..3d601cb 100644 --- a/ld/config/.Sanitize +++ b/ld/config/.Sanitize @@ -97,18 +97,3 @@ Things-to-lose: # done. Do-last: - -if ( echo $* | grep keep-v9 > /dev/null ) ; then - if [ -n "${verbose}" ] ; then - echo Keeping `pwd`/sparc64-elf.mt. - fi -else - if [ -n "${verbose}" ] ; then - echo Removing `pwd`/sparc64-elf.mt. - fi - if [ -n "${safe}" ] ; then - mv sparc64-elf.mt .Recover - else - rm sparc64-elf.mt - fi -fi diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index 74c7da5..4d703ec 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -83,19 +83,3 @@ Things-to-lose: # done. Do-last: - -if ( echo $* | grep keep-v9 > /dev/null ) ; then - if [ -n "${verbose}" ] ; then - echo Keeping `pwd`/elf64_sparc.sh. - fi -else - if [ -n "${verbose}" ] ; then - echo Removing `pwd`/elf64_sparc.sh. - fi - if [ -n "${safe}" ] ; then - mv elf64_sparc.sh .Recover - else - rm elf64_sparc.sh - fi -fi - |