mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 21:19:54 +00:00
sanitization fix.
This commit is contained in:
parent
1e012f703e
commit
c80fb0d3cd
@ -133,6 +133,23 @@ z8kgen.c
|
||||
Things-to-lose:
|
||||
|
||||
Do-last:
|
||||
never_files="Makefile.am Makefile.in"
|
||||
for i in $never_files ; do
|
||||
if test ! -d $i && (grep sanitize-cygnus-never $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing traces of \"cygnus-never\" from $i...
|
||||
fi
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-cygnus-never/,/end\-sanitize\-cygnus-never/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
|
||||
|
||||
cygnus_files="ChangeLog Makefile.am Makefile.in configure.in configure"
|
||||
if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
|
||||
|
Loading…
Reference in New Issue
Block a user