]> code.ossystems Code Review - openembedded-core.git/commit
libzypp: Fix variable substitution problem in do_archgen step
authorKumar Gala <galak@kernel.crashing.org>
Thu, 28 Jul 2011 18:09:50 +0000 (13:09 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Aug 2011 12:57:53 +0000 (13:57 +0100)
commit09573a276456122b408c5bcebc537455fd1c5f29
treedf85cda48f409e45158fe81213e3eded8ed09a8d
parent1d9866a2c4fe93202749a56c7ad89a3cbd07d9f8
libzypp: Fix variable substitution problem in do_archgen step

The do_archgen step creates a script that utilizes the variable name
${ARCH}.  However, we also utilize and define ${ARCH} so instead of
having the following in the script:

COMPAT_WITH="${ARCH},${COMPAT} $COMPAT_WITH"

We get something like:

COMPAT_WITH="powerpc,${COMPAT} $COMPAT_WITH"

Just renaming the variable in the script to not conflict with ${ARCH}
fixes the issue.

[PR bump from Saul Wold]
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/libzypp/libzypp_git.bb