Replace %%ARCH%% by arch on ABI file

This commit is contained in:
Renato Botelho 2016-09-15 17:27:36 -03:00
parent c91a992246
commit 16a48677ba

View File

@ -931,7 +931,8 @@ clone_to_staging_area() {
cp -f ${_template%%.conf}.descr ${_share_repos_path}
if [ -f ${_template%%.conf}.abi ]; then
cp -f ${_template%%.conf}.abi ${_share_repos_path}
sed -e "s,%%ARCH%%,${TARGET_ARCH},g" ${_template%%.conf}.abi \
> ${_share_repos_path}/${_template_filename%%.conf}.abi
else
echo ${_default_abi} \
> ${_share_repos_path}/${_template_filename%%.conf}.abi