fix v850 sanitization

This commit is contained in:
Ian Lance Taylor 1997-08-15 15:44:07 +00:00
parent 2b0c643b8d
commit cfb9ba14c3
1 changed files with 4 additions and 4 deletions

View File

@ -210,7 +210,7 @@ fi
v850e_files="ChangeLog Makefile.in Makefile.am configure.in configure disassemble.c v850-opc.c v850-dis.c"
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
for i in $v850e_files ; do
if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping v850e stuff in $i
fi
@ -218,7 +218,7 @@ if ( echo $* | grep keep\-v850e > /dev/null ) ; then
done
else
for i in $v850e_files ; do
if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"v850e\" from $i...
fi
@ -236,7 +236,7 @@ else
fi
if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
for i in $v850e_files ; do
if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping v850eq stuff in $i
fi
@ -244,7 +244,7 @@ if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
done
else
for i in $v850e_files ; do
if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
if test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"v850eq\" from $i...
fi