X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2FMakefile.am;h=ab966d28b5bb15f1eee43e0f255703923cd03909;hb=7211318dae2e469f896ded6673ef95bb5b7f6c7b;hp=6c07a31659201644fb514ad3d6b589d8ffe7274c;hpb=fbc08f38de61a27756c2e667715db8dce7fcb15e;p=lttng-tools.git diff --git a/include/Makefile.am b/include/Makefile.am index 6c07a3165..ab966d28b 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 "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; \