summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-09-15 17:27:36 -0300
committerRenato Botelho <renato@netgate.com>2016-09-15 17:27:36 -0300
commit16a48677ba95a2e4716b9eb61744eb45fa2a6e76 (patch)
tree4bfc71c4a2b4c07b8beba738fb27496b7ece3464 /tools
parentc91a992246049f7ef02a020f4b9c10989d1f4c83 (diff)
downloadpfsense-16a48677ba95a2e4716b9eb61744eb45fa2a6e76.zip
pfsense-16a48677ba95a2e4716b9eb61744eb45fa2a6e76.tar.gz
Replace %%ARCH%% by arch on ABI file
Diffstat (limited to 'tools')
-rw-r--r--tools/builder_common.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 11c1319..6768b55 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
OpenPOWER on IntegriCloud