We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eac7ac6 commit 753ac0bCopy full SHA for 753ac0b
template-coq/update_plugin.sh
@@ -1,5 +1,5 @@
1
-#!/bin/bash
2
-
+#!/usr/bin/env bash
+SED=`which gsed || which sed`
3
TOCOPY="ast_denoter.ml ast_quoter.ml denoter.ml plugin_core.ml plugin_core.mli reification.ml quoter.ml run_extractable.ml run_extractable.mli tm_util.ml"
4
5
# Test is gen-src is older than src
@@ -14,7 +14,7 @@ then
14
(cd gen-src; ./to-lower.sh)
15
rm -f gen-src/*.d
16
# Fix an extraction bug: wrong type annotation on eq_equivalence
17
- sed -i.bak 's/\r//g' gen-src/cRelationClasses.mli
+ ${SED} -i.bak 's/\r//g' gen-src/cRelationClasses.mli
18
patch -N -p0 < extraction.patch
19
exit 0
20
else
0 commit comments