am 0545c916: Revert "Allow properties with spaces in their values"
Merge commit '0545c9160d0d3dde4675184609cc7656de5558b0' into gingerbread-plus-aosp
* commit '0545c9160d0d3dde4675184609cc7656de5558b0':
Revert "Allow properties with spaces in their values"
diff --git a/core/Makefile b/core/Makefile
index c6a2427..2b0e0b4 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -46,8 +46,8 @@
$(hide) echo "#" > $@; \
echo "# ADDITIONAL_DEFAULT_PROPERTIES" >> $@; \
echo "#" >> $@;
- $(hide) echo $(ADDITIONAL_DEFAULT_PROPERTIES) | sed 's/ \([^ ]*=\)/\n\1/g' >> $@;
- $(hide) echo >> $@
+ $(hide) $(foreach line,$(ADDITIONAL_DEFAULT_PROPERTIES), \
+ echo "$(line)" >> $@;)
# -----------------------------------------------------------------
# build.prop
@@ -146,8 +146,8 @@
echo "#" >> $@; \
echo "# ADDITIONAL_BUILD_PROPERTIES" >> $@; \
echo "#" >> $@; )
- $(hide) echo $(ADDITIONAL_BUILD_PROPERTIES) | sed 's/ \([^ ]*=\)/\n\1/g' >> $@;
- $(hide) echo >> $@
+ $(hide) $(foreach line,$(ADDITIONAL_BUILD_PROPERTIES), \
+ echo "$(line)" >> $@;)
build_desc :=