Use eval so that $cmake_opts is properly parsed 28/12028/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 28 Jul 2018 22:09:08 +0000 (18:09 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 28 Jul 2018 22:11:36 +0000 (18:11 -0400)
commit4a56aac71ab83cf0848ed254d0e9d955f5835a17
tree757c6c8155b1776a04dedf1a963f5d1ac4c461dc
parentd371fe9f60056d0f4efd988613636869c515b02d
Use eval so that $cmake_opts is properly parsed

Without eval bash inserts single quotes and breaks parameters passed
if they have quotes in the parameters. For example
`-D CMAKE_CXX_FLAGS="-fPIC -std=gnu++11"`

Issue: RELENG-1075
Change-Id: I77046a7edc0516f0ae28dd2b8cd2c8994ad5079e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
shell/cmake-build.sh