Removed v850eq sanitization.

This commit is contained in:
Nick Clifton
1997-09-20 23:07:04 +00:00
parent 03c41a1cf3
commit 6c84a1a2ab
2 changed files with 2 additions and 65 deletions

View File

@@ -31,12 +31,6 @@ else
lose_these_too="${tic80_files} ${lose_these_too}"
fi
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
keep_these_too="v850.h ${keep_these_too}"
else
lose_these_too="v850.h ${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
@@ -70,6 +64,7 @@ ppc.h
pyr.h
sparc.h
tahoe.h
v850.h
vax.h
Things-to-lose:
@@ -106,33 +101,6 @@ fi
v850e_files="ChangeLog v850.h"
if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
for i in $v850e_files ; do
if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping v850eq stuff in $i
fi
fi
done
else
for i in $v850e_files ; do
if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"v850eq\" from $i...
fi
cp $i new
sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/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
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
for i in $v850e_files ; do
if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then