[dconf] build: stop non-portable use of 'echo -e'
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] build: stop non-portable use of 'echo -e'
- Date: Sun, 5 Feb 2012 20:39:01 +0000 (UTC)
commit ebc169999a8d06008509059fc332e6c847adaf75
Author: Ryan Lortie <desrt desrt ca>
Date: Sun Feb 5 15:36:49 2012 -0500
build: stop non-portable use of 'echo -e'
Mac OS echo doesn't like '-e' so avoid using it in our Makefile.
https://bugzilla.gnome.org/show_bug.cgi?id=667659
service/Makefile.am | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/service/Makefile.am b/service/Makefile.am
index 1c611fc..d3eddf7 100644
--- a/service/Makefile.am
+++ b/service/Makefile.am
@@ -22,4 +22,7 @@ dconf_service_SOURCES = \
DISTCLEANFILES = ca.desrt.dconf.service
ca.desrt.dconf.service: Makefile
- $(AM_V_GEN) echo -e '[D-BUS Service]\nName=ca.desrt.dconf\nExec=${libexecdir}/dconf-service' > $@
+ $(AM_V_GEN) (echo '[D-BUS Service]'; \
+ echo 'Name=ca.desrt.dconf'; \
+ echo 'Exec=${libexecdir}/dconf-service') > $ tmp && \
+ mv $ tmp $@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]