Change ',' to '#' in sed 's' command 25/33925/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/common/20150403.125416 accepted/tizen/mobile/20150405.124135 accepted/tizen/tv/20150406.013650 accepted/tizen/wearable/20150405.123324 submit/tizen/20150331.094445 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authorYury Usishchev <y.usishchev@samsung.com>
Fri, 16 Jan 2015 14:25:39 +0000 (17:25 +0300)
committerYury Usishchev <y.usishchev@samsung.com>
Fri, 16 Jan 2015 14:25:39 +0000 (17:25 +0300)
After 31699 optflags can contain ',' which breaks macros generation.

Change-Id: I86016ae4f5f97eadeb17c8ad79089539069b7f38
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
installplatform

index f5378d8..7852881 100755 (executable)
@@ -125,7 +125,7 @@ for ARCH in noarch `grep ^arch_canon $RPMRC | cut -d: -f2`; do
   [ -d $PPD ] || mkdir -p $PPD
 
   cat $PLATFORM \
-  | sed -e "s,@RPMRC_OPTFLAGS@,$RPMRC_OPTFLAGS," \
+  | sed -e "s#@RPMRC_OPTFLAGS@#$RPMRC_OPTFLAGS#" \
        -e "s,@RPMCANONARCH@,$CANONARCH,g" \
        -e "s,@RPMCANONCOLOR@,$CANONCOLOR," \
        -e "s,@RPMRC_GNU@,$RPMRC_GNU," \