[libsecret] libsecret: more sed portability changes



commit 0257a681062e1721c269b703922815308014a91f
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Dec 11 09:51:00 2013 -0500

    libsecret: more sed portability changes
    
    As per POSIX, a '\' and a newline is expected after the 'i' command.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720087

 libsecret/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libsecret/Makefile.am b/libsecret/Makefile.am
index 0bf99b4..7d46aa6 100644
--- a/libsecret/Makefile.am
+++ b/libsecret/Makefile.am
@@ -96,7 +96,8 @@ temp-dbus-generated.c: $(DBUS_XML_DEFINITIONS) Makefile.am
                --generate-c-code temp-dbus-generated --c-namespace SecretGen \
                $(DBUS_XML_DEFINITIONS)
 secret-dbus-generated.c: temp-dbus-generated.c Makefile.am
-       $(AM_V_GEN) sed -e '1i #define GLIB_DISABLE_DEPRECATION_WARNINGS' \
+       $(AM_V_GEN) sed -e '1i\
+       #define GLIB_DISABLE_DEPRECATION_WARNINGS' \
                -e 's/secret_gen_/_secret_gen_/g' -e 's/type-/type/g' \
                -e 's/temp-dbus-generated.h/secret-dbus-generated.h/g' \
                temp-dbus-generated.c > secret-dbus-generated.c


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]