[banshee] [build] Avoid using GNU sed extended regular expressions
- From: Bertrand Lorentz <blorentz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [build] Avoid using GNU sed extended regular expressions
- Date: Mon, 5 Oct 2009 14:01:25 +0000 (UTC)
commit aa7eea5f136a38eca84019f2925d31dc3393478d
Author: Romain Tartière <romain blogreen org>
Date: Mon Oct 5 15:56:38 2009 +0200
[build] Avoid using GNU sed extended regular expressions
Expand the regular expression so that it is a simple one to avoid
depending on GNU sed. This is for building on FreeBSD (BG0#592587).
Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>
data/icon-theme-hicolor/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/icon-theme-hicolor/Makefile.am b/data/icon-theme-hicolor/Makefile.am
index 3b3a3a3..66dc44f 100644
--- a/data/icon-theme-hicolor/Makefile.am
+++ b/data/icon-theme-hicolor/Makefile.am
@@ -12,7 +12,7 @@ all:
(for icon_desc in $(theme_icons); do \
category=$$(echo $$icon_desc | cut -f1 -d,); \
src_file="$(srcdir)/$$(echo $$icon_desc | cut -f2 -d,)"; \
- dest_file=$$(echo $$src_file | ${SED} -r 's,\-[0-9]+,,'); \
+ dest_file=$$(echo $$src_file | ${SED} 's,\-[0-9][0-9]*,,'); \
size=$$(echo $$src_file | ${SED} 's,[^0-9],,g'); \
dest_dir="$(top_builddir)/bin/share/$(PACKAGE)/icons/hicolor/$${size}x$${size}/$${category}"; \
mkdir -p "$${dest_dir}" && cp -f "$${src_file}" "$${dest_dir}/$${dest_file}"; \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]