[banshee] [build] Remove usage of a GNU sed extension, for FreeBSD portability
- From: Bertrand Lorentz <blorentz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [build] Remove usage of a GNU sed extension, for FreeBSD portability
- Date: Sun, 4 Oct 2009 15:41:12 +0000 (UTC)
commit e3708919a895f8a980eea646adb366ae49bb7a06
Author: Romain Tartière <romain blogreen org>
Date: Sun Oct 4 17:37:41 2009 +0200
[build] Remove usage of a GNU sed extension, for FreeBSD portability
Signed-off-by: Bertrand Lorentz <bertrand lorentz gmail com>
data/desktop-files/update-desktop-file.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/desktop-files/update-desktop-file.sh b/data/desktop-files/update-desktop-file.sh
index 6ec220a..c7efecb 100755
--- a/data/desktop-files/update-desktop-file.sh
+++ b/data/desktop-files/update-desktop-file.sh
@@ -21,7 +21,7 @@ if [[ -f "$MIMETYPES_FILE" ]]; then
if [[ "$UPDATE_MIME_FILE" == "yes" ]]; then
(grep -E '^[[:space:]]*#' "$MIMETYPES_FILE";
- echo "$MIMETYPES" | sed 's,;,\n,g') > "$MIMETYPES_FILE".tmp
+ for t in $(echo "$MIMETYPES" | sed 's,;, ,g'); do echo $t; done) > "$MIMETYPES_FILE".tmp
mv "$MIMETYPES_FILE".tmp "$MIMETYPES_FILE"
fi
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]