]> code.ossystems Code Review - openembedded-core.git/commit
tcl: fix sed in do_install()
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 15 Feb 2017 06:25:10 +0000 (22:25 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2017 20:29:16 +0000 (12:29 -0800)
commit68960cbdf12de8aaff0f792091f839c987cc0aa0
treebde1fd406db5bda4b057918ffee02abd64bb3dd6
parent84f254cb8c75fbd368041b7637effe42a05b2203
tcl: fix sed in do_install()

The command:
sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh

was used for replacing "${WORKDIR}", but it also replaced
"-L${WORKDIR}", but binconfig.bbclass would replace "-L${WORKDIR}", too,
which caused incorrect result, use "'${WORKDIR}" to fix the problem.

(From OE-Core rev: 2edfcbf0291c0d39be4a37348696329eba8a41f8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/tcltk/tcl_8.6.6.bb