From: Paweł Chmielowski Date: Fri, 17 Nov 2017 08:50:10 +0000 (+0100) Subject: Fix sed invocation that was incompatible with FreeBSD sed X-Git-Tag: 17.11~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c05626a1ba1ebae728ea90b01830582731435542;p=ejabberd Fix sed invocation that was incompatible with FreeBSD sed --- diff --git a/Makefile.in b/Makefile.in index ee560ebc3..8911308d7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -133,7 +133,7 @@ FILES_WILDCARD=$(call FILTER_DIRS,$(foreach w,$(1),$(wildcard $(w)))) ifeq ($(MAKECMDGOALS),copy-files-sub) -DEPS:=$(sort $(shell $(REBAR) -q list-deps|$(SED) -ne '/^[a-zA-Z0-9_-]\{1,\} \(TAG\|REV\)/s/^\([^ ]*\).*/\1/p')) +DEPS:=$(sort $(shell $(REBAR) -q list-deps|$(SED) -ne '/ TAG / s/ .*// p; / REV / s/ .*// p')) DEPS_FILES=$(call FILES_WILDCARD,$(foreach DEP,$(DEPS),deps/$(DEP)/ebin/*.beam deps/$(DEP)/ebin/*.app deps/$(DEP)/priv/* deps/$(DEP)/priv/lib/* deps/$(DEP)/priv/bin/* deps/$(DEP)/include/*.hrl deps/$(DEP)/COPY* deps/$(DEP)/LICENSE* deps/$(DEP)/lib/*/ebin/*.beam deps/$(DEP)/lib/*/ebin/*.app)) DEPS_FILES_FILTERED=$(filter-out %/epam %/eimp deps/elixir/ebin/elixir.app,$(DEPS_FILES))