forked from Imagelibrary/binutils-gdb
m32rx -> cygnus sanitization change.
This commit is contained in:
@@ -53,34 +53,6 @@ Things-to-lose:
|
|||||||
|
|
||||||
Do-last:
|
Do-last:
|
||||||
|
|
||||||
m32rx_files="ChangeLog m32r.h"
|
|
||||||
if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
|
|
||||||
for i in $m32rx_files ; do
|
|
||||||
if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Keeping m32rx stuff in $i
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for i in $m32rx_files ; do
|
|
||||||
if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
|
|
||||||
if [ -n "${verbose}" ] ; then
|
|
||||||
echo Removing traces of \"m32rx\" from $i...
|
|
||||||
fi
|
|
||||||
cp $i new
|
|
||||||
sed '/start\-sanitize\-m32rx/,/end\-sanitize\-m32rx/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
|
|
||||||
|
|
||||||
sky_files="ChangeLog mips.h"
|
sky_files="ChangeLog mips.h"
|
||||||
if ( echo $* | grep keep\-sky > /dev/null ) ; then
|
if ( echo $* | grep keep\-sky > /dev/null ) ; then
|
||||||
for i in $sky_files ; do
|
for i in $sky_files ; do
|
||||||
@@ -193,7 +165,7 @@ else
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cygnus_files="mips.h mn10300.h"
|
cygnus_files="mips.h mn10300.h ChangeLog m32r.h"
|
||||||
if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
|
if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
|
||||||
for i in $cygnus_files ; do
|
for i in $cygnus_files ; do
|
||||||
if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
|
if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user