From: Jérémie Galarneau Date: Wed, 7 Sep 2016 21:21:22 +0000 (-0400) Subject: Fix: remove in-place backup suffix argument provided to sed X-Git-Tag: v2.9.0-rc1~50 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=95ecfc12159a55d11ef0ff18825411360f71ea9f;p=lttng-tools.git Fix: remove in-place backup suffix argument provided to sed GNU sed complains when an empty suffix argument is provided as the in-place suffix. Signed-off-by: Jérémie Galarneau --- 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; \