support single-quotation ''' to the value (pre_installation) for build flags configuration.
example:
<attribute name="pre_installation" value="CFLAGS='-fPIC -g' LDFLAGS='-pie -rdynamic' ./configure"/>
--- a/bake/ModuleBuild.py Sun Feb 02 11:04:20 2014 -0800
+++ b/bake/ModuleBuild.py Tue Mar 04 11:00:38 2014 +0900
@@ -31,6 +31,7 @@
import commands
import re
import sys
+import shlex
from bake.Utils import ModuleAttributeBase
from bake.Exceptions import NotImplemented
from bake.Exceptions import TaskError
@@ -760,7 +761,7 @@
if not "--prefix" in command:
command = command + ' --prefix=' + env.objdir
- command= bake.Utils.split_args(command)
+ command = shlex.split(command)
env.run(command, directory=env.objdir)