From 04b7976c2f069335483455de396ba2579b0305e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Marie?= Date: Sat, 7 Feb 2015 08:55:37 +0100 Subject: [PATCH] sed -i option isn't portable the sed option `--in-place` (or `-i`) is a GNU extension, and it is not portable to BSD system (openbsd and freebsd checked). use an alternate construction in order to keep the semantic. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 2127f2c656d..308e174f9a0 100755 --- a/configure +++ b/configure @@ -1380,7 +1380,8 @@ do done # Munge any paths that appear in config.mk back to posix-y -sed -i.bak -e 's@ \([a-zA-Z]\):[/\\]@ /\1/@g;' config.tmp +cp config.tmp config.tmp.bak +sed -e 's@ \([a-zA-Z]\):[/\\]@ /\1/@g;' config.tmp rm -f config.tmp.bak msg -- GitLab