fix(script/patch): apply changes
This commit is contained in:
parent
48f72b9b34
commit
245d476845
1 changed files with 2 additions and 0 deletions
|
|
@ -53,5 +53,7 @@ for leanFile in `find . -name '*.lean'`; do
|
||||||
diff $leanFile $leanFile.new > /dev/null
|
diff $leanFile $leanFile.new > /dev/null
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "modified $leanFile"
|
echo "modified $leanFile"
|
||||||
|
mv $leanFile.new $leanFile
|
||||||
|
rm -f $leanFile.old
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue