mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
Remove last remnants of hpread sanitization.
This commit is contained in:
@ -365,32 +365,6 @@ else
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo Removing traces of \"hpread\"...
|
|
||||||
|
|
||||||
# Don't try to clean directories here, as the 'mv' command will fail.
|
|
||||||
# Also, grep fails on NFS mounted directories.
|
|
||||||
if ( echo $* | grep keep\-hpread > /dev/null ) ; then
|
|
||||||
for i in * ; do
|
|
||||||
if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
|
|
||||||
echo Keeping hpread stuff in $i
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for i in * ; do
|
|
||||||
if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
|
|
||||||
echo Removing traces of \"hpread\" out of $i...
|
|
||||||
cp $i new
|
|
||||||
sed '/start\-sanitize\-hpread/,/end-\sanitize\-hpread/d' < $i > new
|
|
||||||
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
||||||
echo Caching $i in .Recover...
|
|
||||||
mv $i .Recover
|
|
||||||
fi
|
|
||||||
mv new $i
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
r16_files = "configure.in"
|
r16_files = "configure.in"
|
||||||
|
|
||||||
if ( echo $* | grep keep\-r16 > /dev/null ) ; then
|
if ( echo $* | grep keep\-r16 > /dev/null ) ; then
|
||||||
|
@ -42,29 +42,4 @@ Things-to-lose:
|
|||||||
|
|
||||||
Do-last:
|
Do-last:
|
||||||
|
|
||||||
echo Removing traces of \"hpread\"...
|
|
||||||
|
|
||||||
# Don't try to clean directories here, as the 'mv' command will fail.
|
|
||||||
# Also, grep fails on NFS mounted directories.
|
|
||||||
if ( echo $* | grep keep\-hpread > /dev/null ) ; then
|
|
||||||
for i in * ; do
|
|
||||||
if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
|
|
||||||
echo Keeping hpread stuff in $i
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
else
|
|
||||||
for i in * ; do
|
|
||||||
if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
|
|
||||||
echo Removing traces of \"hpread\" out of $i...
|
|
||||||
cp $i new
|
|
||||||
sed '/start\-sanitize\-hpread/,/end-\sanitize\-hpread/d' < $i > new
|
|
||||||
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
||||||
echo Caching $i in .Recover...
|
|
||||||
mv $i .Recover
|
|
||||||
fi
|
|
||||||
mv new $i
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
# End of file.
|
# End of file.
|
||||||
|
Reference in New Issue
Block a user