mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-23 09:55:31 +00:00
remove fr30 sanitization
This commit is contained in:
parent
8142df8181
commit
caf8b76ba2
@ -96,34 +96,6 @@ else
|
||||
done
|
||||
fi
|
||||
|
||||
fr30_files="ChangeLog dis-asm.h"
|
||||
if ( echo $* | grep keep\-fr30 > /dev/null ) ; then
|
||||
for i in $fr30_files ; do
|
||||
if test ! -d $i && (grep sanitize-fr30 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping fr30 stuff in $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
else
|
||||
for i in $fr30_files ; do
|
||||
if test ! -d $i && (grep sanitize-fr30 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing traces of \"fr30\" from $i...
|
||||
fi
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-fr30/,/end-\sanitize\-fr30/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 [ -n "${verbose}" ] ; then
|
||||
echo Processing \"sky\"...
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user