diff options
author | Ting-Wei Lan <lantw@src.gnome.org> | 2018-01-07 03:05:51 +0800 |
---|---|---|
committer | Florian Müllner <florian.muellner@gmail.com> | 2018-03-21 13:14:50 +0000 |
commit | 65630d6310817a1ac1cb03749d425bb539994e6a (patch) | |
tree | c314648594a31b465f3f5e392ecb8c23e81b371b | |
parent | b8a81128e08e1760662e32f0250ac53cd6ba8d7d (diff) | |
download | mutter-65630d6310817a1ac1cb03749d425bb539994e6a.tar.gz |
build: Use portable sed syntax in src/Makefile.am
Replace non-portable \+ with \{, \} to avoid build failure on systems
not using GNU sed.
https://bugzilla.gnome.org/show_bug.cgi?id=792280
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 3b50bf589..be3010c28 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -750,7 +750,7 @@ $(if $(findstring unstable,$1),unstable,stable) endef define protoname -$(shell echo $1 | sed 's/\([a-z\-]\+\)-[a-z]\+-v[0-9]\+/\1/') +$(shell echo $1 | sed 's/\([a-z\-]\{1,\}\)-[a-z]\{1,\}-v[0-9]\{1,\}/\1/') endef %-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml |