GNOME Bugzilla – Bug 667659
echo -e in to make .service file is not portable (OS X)
Last modified: 2013-12-13 16:24:50 UTC
dconf uses echo -e to generate the ca.desrt.dconf.service file, however this is not very portable. The echo utility on OS X for example does not support -e. A possible solution would be to use bash echo builtin instead: ca.desrt.dconf.service: Makefile $(AM_V_GEN) bash -c "echo -e '[D-BUS Service]\nName=ca.desrt.dconf\nExec=${libexecdir}/dconf-service'" > $@
Created attachment 206860 [details] [review] build: stop non-portable use of 'echo -e' Mac OS echo doesn't like '-e' so avoid using it in our Makefile.
Attachment 206860 [details] pushed as ebc1699 - build: stop non-portable use of 'echo -e'
Thanks!
*** Bug 720402 has been marked as a duplicate of this bug. ***