From 16a48677ba95a2e4716b9eb61744eb45fa2a6e76 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 15 Sep 2016 17:27:36 -0300 Subject: [PATCH] Replace %%ARCH%% by arch on ABI file --- tools/builder_common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/builder_common.sh b/tools/builder_common.sh index 11c1319f7f..6768b551ca 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -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