Fix: remove in-place backup suffix argument provided to sed
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Sep 2016 21:21:22 +0000 (17:21 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Sep 2016 21:21:22 +0000 (17:21 -0400)
GNU sed complains when an empty suffix argument is provided
as the in-place suffix.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/Makefile.am

index ab966d28b5bb15f1eee43e0f255703923cd03909..0536dcdf00e328a1f83433df310e7a37c888c622 100644 (file)
@@ -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; \
This page took 0.030063 seconds and 4 git commands to generate.