build: Avoid using `echo -e`
authorTony Theodore <tonyt logyst com>
Tue, 31 Oct 2017 13:02:37 +0000 (13:02 +0000)
committerSimon McVittie <smcv@collabora.com>
Tue, 31 Oct 2017 13:06:55 +0000 (13:06 +0000)
`echo -e` is a GNU extension, and in particular not available on
Darwin.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103493
[smcv: Added commit message]
Reviewed-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit 216ae1adfcf9ce9274019b3c29b8f1245c26dec1)

tools/Makefile.am

index 2509201..cfce434 100644 (file)
@@ -123,7 +123,7 @@ SUFFIXES = .rc
 nodist_dbus_update_activation_environment_SOURCES = disable-uac.rc
 
 disable-uac.rc: Win32.Manifest
-       echo -e "1 24 \"$<\"" > $@
+       echo '1 24 "$<"' > $@
 endif
 
 EXTRA_DIST = run-with-tmp-session-bus.sh strtoll.c strtoull.c Win32.Manifest