From 95ecfc12159a55d11ef0ff18825411360f71ea9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 7 Sep 2016 17:21:22 -0400 Subject: [PATCH] Fix: remove in-place backup suffix argument provided to sed MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit GNU sed complains when an empty suffix argument is provided as the in-place suffix. Signed-off-by: Jérémie Galarneau --- include/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Makefile.am b/include/Makefile.am index ab966d28b..0536dcdf0 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -45,7 +45,7 @@ version.h: old_version=$$($(GREP) "$${version_match}" "$${version_h}"); \ new_version="#define GIT_VERSION \"$${git_version}\""; \ if [ x"$${old_version}" != x"$${new_version}" ]; then \ - $(SED) -i '' -e "s'$${version_match}'$${new_version}'" "$${version_h}"; \ + $(SED) -i -e "s'$${version_match}'$${new_version}'" "$${version_h}"; \ else \ echo $(ECHO_N) " (cached)$(ECHO_C)"; \ fi; \ -- 2.34.1