public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/eselect:master commit in: man/, libs/, /, bin/
@ 2014-05-20  7:59 Ulrich Müller
  0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2014-05-20  7:59 UTC (permalink / raw
  To: gentoo-commits

commit:     2996ee3ab94c875f7d000ce73ea1918d748793c5
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue May 20 07:59:09 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue May 20 07:59:09 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=2996ee3a

Use "%" instead of "," as delimiter for sed.

* bin/Makefile.am (dosed):
* libs/Makefile.am (dosed):
* man/Makefile.am (dosed): Use "%" instead of "," as delimiter.

---
 ChangeLog        | 4 ++++
 bin/Makefile.am  | 8 ++++----
 libs/Makefile.am | 8 ++++----
 man/Makefile.am  | 2 +-
 4 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d5ddaef..d9dd9fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-05-20  Ulrich Müller  <ulm@gentoo.org>
 
+	* bin/Makefile.am (dosed):
+	* libs/Makefile.am (dosed):
+	* man/Makefile.am (dosed): Use "%" instead of "," as delimiter.
+
 	* configure.ac: Replace "git rev-parse" by "git describe", now
 	that git-r3.eclass supports it (bug 489100).
 

diff --git a/bin/Makefile.am b/bin/Makefile.am
index 7ba2996..20902c1 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -1,10 +1,10 @@
 bin_SCRIPTS = eselect
 EXTRA_DIST = eselect.in
 
-dosed = @SED@ -e 's,\@BASH\@,$(BASH),g' \
-	      -e 's,\@DATADIR\@,$(datadir),g' \
-	      -e 's,\@EPREFIX\@,$(EPREFIX),g' \
-	      -e 's,\@VERSION\@,$(VERSION)$(EXTRAVERSION),g'
+dosed = @SED@ -e 's%\@BASH\@%$(BASH)%g' \
+	      -e 's%\@DATADIR\@%$(datadir)%g' \
+	      -e 's%\@EPREFIX\@%$(EPREFIX)%g' \
+	      -e 's%\@VERSION\@%$(VERSION)$(EXTRAVERSION)%g'
 
 % : %.in
 	@echo "Building $@..."

diff --git a/libs/Makefile.am b/libs/Makefile.am
index bab373e..027ef73 100644
--- a/libs/Makefile.am
+++ b/libs/Makefile.am
@@ -27,10 +27,10 @@ EXTRA_DIST = \
 	tests.bash.in
 
 dosed = @SED@ \
-	-e 's,\@SED\@,@SED@,g' \
-	-e 's,\@PORTAGEQ\@,@PORTAGEQ@,g' \
-	-e 's,\@ENV_UPDATE\@,@ENV_UPDATE@,g' \
-	-e 's,\@CANONICALISE\@,@CANONICALISE@,g'
+	-e 's%\@SED\@%@SED@%g' \
+	-e 's%\@PORTAGEQ\@%@PORTAGEQ@%g' \
+	-e 's%\@ENV_UPDATE\@%@ENV_UPDATE@%g' \
+	-e 's%\@CANONICALISE\@%@CANONICALISE@%g'
 
 %.bash : %.bash.in
 	@$(dosed) $< > $@

diff --git a/man/Makefile.am b/man/Makefile.am
index f93b85b..c4bbdce 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -14,7 +14,7 @@ EXTRA_DIST = $(man_MANS)
 MAINTAINERCLEANFILES = Makefile.in
 
 # turn foo-<suffix> into foo.eselect.5
-dosed = @SED@ -e 's,^\(.*\)-.*,\1\.eselect\.5,'
+dosed = @SED@ -e 's%^\(.*\)-.*%\1\.eselect\.5%'
 
 install-data-local : $(foreach f, $(symlinks), install-symlink-$(f))
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-20  7:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-20  7:59 [gentoo-commits] proj/eselect:master commit in: man/, libs/, /, bin/ Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox