crosswalk: Add missing quotes around export lines 38/34338/3
authorSaul Wold <sgw@linux.intel.com>
Fri, 23 Jan 2015 14:08:40 +0000 (06:08 -0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Mon, 26 Jan 2015 10:47:03 +0000 (02:47 -0800)
This fixes a bashism: it works without quotes in bash and fails in dash.

Change-Id: Id34e02f37189d1d1bc84cc575cc85fa4bf451b6e
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc

index 4dd0a53..81fa41b 100644 (file)
@@ -124,12 +124,12 @@ do_compile() {
  # to be left out (since several pieces are built with -Werror). At least in
  # M39, this is preventing the "rtc_base" target from being built because it
  # does not expect -Wall to be passed to the compiler (see webrtc issue 3307).
- export CXXFLAGS=`echo $CXXFLAGS | sed s,-Wall,,g`
+ export CXXFLAGS="`echo $CXXFLAGS | sed s,-Wall,,g`"
  
  # For ffmpeg on ia32. The original CFLAGS set by the gyp and config files in
  # src/third_party/ffmpeg already pass -O2 -fomit-frame-pointer, but Tizen's
  # CFLAGS end up appending -fno-omit-frame-pointer. See http://crbug.com/37246
- export CFLAGS=`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g`
+ export CFLAGS="`echo $CFLAGS | sed s,-fno-omit-frame-pointer,,g`"
  
  
  # Building the RPM in the GBS chroot fails with errors such as