unsanitize v9
This commit is contained in:
parent
fd4b7c2511
commit
dae00c8a78
@ -44,36 +44,6 @@ sun4.h
|
||||
|
||||
Things-to-lose:
|
||||
|
||||
|
||||
Do-last:
|
||||
|
||||
v9dirty="aout64.h"
|
||||
|
||||
if ( echo $* | egrep verbose > /dev/null ) ; then
|
||||
verbose=true
|
||||
else
|
||||
verbose=
|
||||
fi
|
||||
|
||||
|
||||
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping v9 in ${v9dirty}
|
||||
fi
|
||||
else
|
||||
for i in ${v9dirty} ; do
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Sanitizing v9 in $i
|
||||
fi
|
||||
rm -f new
|
||||
grep -v v9 $i > new
|
||||
if [ -n "${safe}" ] ; then
|
||||
mv $i .Recover
|
||||
else
|
||||
rm $i
|
||||
fi
|
||||
mv new $i
|
||||
done
|
||||
fi
|
||||
|
||||
# End of file.
|
||||
|
Loading…
Reference in New Issue
Block a user