meta-tizen: crosswalk: Add missing quotes around export lines
authorSaul Wold <sgw@linux.intel.com>
Fri, 23 Jan 2015 14:08:40 +0000 (06:08 -0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Wed, 4 Feb 2015 14:48:38 +0000 (06:48 -0800)
This fixes a bashism: it works without quotes in bash and fails in dash.

Change-Id: Id34e02f37189d1d1bc84cc575cc85fa4bf451b6e
(From meta-tizen rev: db6ab944d71077a02fb4b504bed4dc6f1cc7794c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-tizen/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