aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/config/.Sanitize10
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize
index 3338e40..b1716c5 100644
--- a/gas/config/.Sanitize
+++ b/gas/config/.Sanitize
@@ -250,7 +250,7 @@ v850e_files="tc-v850.c tc-v850.h"
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
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 test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping v850e and v850eq stuff in $i
fi
@@ -258,7 +258,7 @@ if ( echo $* | grep keep\-v850e > /dev/null ) ; then
done
else
for i in $v850e_files ; do
- if test ! -r $i && (grep sanitize-v850eq $i > /dev/null) ; then
+ if test -r $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"v850eq\" from $i...
fi
@@ -277,7 +277,7 @@ if ( echo $* | grep keep\-v850e > /dev/null ) ; then
else
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 test -f $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping v850e and v850eq stuff in $i
fi
@@ -285,7 +285,7 @@ else
done
else
for i in $v850e_files ; do
- if test ! -r $i && (grep sanitize-v850e $i > /dev/null) ; then
+ if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"v850e\" from $i...
fi
@@ -299,7 +299,7 @@ else
fi
mv new $i
fi
- if test ! -r $i && (grep sanitize-v850eq $i > /dev/null) ; then
+ if test -r $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"v850eq\" from $i...
fi