[geany/geany] 56b918: Fix generation of `signallist.i` with BSD sed

Colomban Wendling git-noreply at xxxxx
Fri Apr 10 14:16:18 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 10 Apr 2015 14:16:18 UTC
Commit:      56b9189a6cf42d877de5cbab64b22e722a0097ab
             https://github.com/geany/geany/commit/56b9189a6cf42d877de5cbab64b22e722a0097ab

Log Message:
-----------
Fix generation of `signallist.i` with BSD sed

4.2BSD sed doesn't understand the `+` quantifier, so use `{1,}`.


Modified Paths:
--------------
    src/Makefile.am

Modified: src/Makefile.am
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -169,7 +169,7 @@ glade_file=$(top_srcdir)/data/geany.glade
 signallist.i: $(glade_file) Makefile
 	$(AM_V_GEN)( \
 		echo '/* This file is auto-generated, do not edit. */' && \
-		$(SED) -n 's/^.*handler="\([^"]\+\)".*$$/ITEM(\1)/p' "$(glade_file)" \
+		$(SED) -n 's/^.*handler="\([^"]\{1,\}\)".*$$/ITEM(\1)/p' "$(glade_file)" \
 			| $(SORT) | $(UNIQ) \
 	) > $@ || { $(RM) $@ && exit 1; }
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list