[banshee] Use the sed utility detected by autotools
- From: Bertrand Lorentz <blorentz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] Use the sed utility detected by autotools
- Date: Sat, 22 Aug 2009 19:53:17 +0000 (UTC)
commit 849d8c2a15a50c5627367e2ef77686fe08e77932
Author: Romain Tartière <romain blogreen org>
Date: Sat Aug 22 21:50:42 2009 +0200
Use the sed utility detected by autotools
Use $SED to use the correct version of sed on all platforms, in
particular FreeBSD.
Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>
build/m4/shamrock/i18n.m4 | 2 +-
data/icon-theme-hicolor/Makefile.am | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/build/m4/shamrock/i18n.m4 b/build/m4/shamrock/i18n.m4
index 557f72b..e632647 100644
--- a/build/m4/shamrock/i18n.m4
+++ b/build/m4/shamrock/i18n.m4
@@ -1,6 +1,6 @@
AC_DEFUN([SHAMROCK_CONFIGURE_I18N],
[
- ALL_LINGUAS=`grep -v '^#' $srcdir/po/LINGUAS | sed ':a;N;$!ba;s/\n/ /g; s/[ ]+/ /g' | xargs`
+ ALL_LINGUAS=`grep -v '^#' $srcdir/po/LINGUAS | $SED ':a;N;$!ba;s/\n/ /g; s/[ ]+/ /g' | xargs`
GETTEXT_PACKAGE=$1
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext Package])
diff --git a/data/icon-theme-hicolor/Makefile.am b/data/icon-theme-hicolor/Makefile.am
index d7f7089..3b3a3a3 100644
--- a/data/icon-theme-hicolor/Makefile.am
+++ b/data/icon-theme-hicolor/Makefile.am
@@ -12,8 +12,8 @@ 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]+,,'); \
- size=$$(echo $$src_file | sed 's,[^0-9],,g'); \
+ dest_file=$$(echo $$src_file | ${SED} -r 's,\-[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}"; \
done;) &>/dev/null || true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]