aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-08-15 15:44:07 +0000
committerIan Lance Taylor <ian@airs.com>1997-08-15 15:44:07 +0000
commitcfb9ba14c3f45bd4cdfabe697f7b964ac46c0fae (patch)
tree4c61cbfc1422d0938fddc1cea7f544e8494dd98a
parent2b0c643b8da809da000d4e910afd8daa8bd94f8a (diff)
downloadgdb-cfb9ba14c3f45bd4cdfabe697f7b964ac46c0fae.zip
gdb-cfb9ba14c3f45bd4cdfabe697f7b964ac46c0fae.tar.gz
gdb-cfb9ba14c3f45bd4cdfabe697f7b964ac46c0fae.tar.bz2
fix v850 sanitization
-rw-r--r--opcodes/.Sanitize8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index e3a074f..ff90ec6 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -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