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
This commit is contained in:
Ryan Lortie 2013-12-11 09:51:00 -05:00 committed by Stef Walter
parent 5f50c1046c
commit 0257a68106

View File

@ -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