branch: master
commit 48db5bdf84a992bc53424f283b2e7980cdb84fe4
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Restore compatibility for BSD sed
* Makefile.in (tex-site.el): Set '-i' command line option
explicitly since it is mandatory for BSD sed.
---
Makefile.in | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 9d97eff3..97ddae21 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -268,9 +268,11 @@ tex-site.el: tex-site.el.out auto-loads.el Makefile
cat auto-loads.el >>$@
echo "(provide 'tex-site)" >>$@ ; \
echo ";;; tex-site.el ends here" >>$@
- sed -i -e "/^(provide 'auto-loads)/d" \
- -e '/^;;; auto-loads.el ends here/d' \
- -e 's/^\(;;; auto-loads.el.*\)\( -\*- lexical-binding: t
-\*-\)/\1/' $@
+ sed -i'.tmp' \
+ -e "/^(provide 'auto-loads)/d" \
+ -e '/^;;; auto-loads.el ends here/d' \
+ -e 's/^\(;;; auto-loads.el.*\)\( -\*- lexical-binding: t
-\*-\)/\1/' $@
+ -rm -f [email protected]
tex-site.el.out: tex-site.el.in Makefile config.status
./config.status