diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/sh/.Sanitize | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sim/sh/.Sanitize b/sim/sh/.Sanitize index 989238d..3ad8665 100644 --- a/sim/sh/.Sanitize +++ b/sim/sh/.Sanitize @@ -39,27 +39,4 @@ Things-to-lose: Do-last: -# Don't try to clean directories here, as the 'mv' command will fail. -# Also, grep fails on NFS mounted directories. -if ( echo $* | grep keep\-sh3 > /dev/null ) ; then - for i in * ; do - if test ! -d $i && (grep sanitize-sh3 $i > /dev/null) ; then - echo Keeping SH3 stuff in $i - fi - done -else - for i in * ; do - if test ! -d $i && (grep sanitize-sh3 $i > /dev/null) ; then - echo Cleaning the \"SH3\" out of $i... - cp $i new - sed '/start\-sanitize\-sh3/,/end-\sanitize\-sh3/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 - # End of file. |