Skip to content

Commit

Permalink
Merge pull request #70 from proux01/fix-macos
Browse files Browse the repository at this point in the history
Fix sed commands on MacOS
  • Loading branch information
proux01 authored Feb 24, 2025
2 parents c99947d + a66c56c commit 0accab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.coq.local
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pre-all::
if command -v coqc > /dev/null && (coqc --version | grep -q '8.18\|8.19\|8.20') ; then \
for f in $(shell grep "From Corelib" $$(find . -name "*.v") | cut -d: -f1) ; do \
sed -i.bak $${f} -e 's/From Corelib/From Coq/' ; \
sed -i.bak $${f} -e 's/PosDef/PArith/' ; \
sed -i.bak 's/From Corelib/From Coq/' $${f} ; \
sed -i.bak 's/PosDef/PArith/' $${f} ; \
$(RM) $${f}.bak ; \
done ; \
fi

0 comments on commit 0accab9

Please sign in to comment.