代码拉取完成,页面将自动刷新
同步操作将从 oepkgs/oepkgs-management 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 3a789e01e42537f98b6f73862819c4ecf20ab0e4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <[email protected]>
Date: Mon, 30 Nov 2020 16:04:11 +0100
Subject: [PATCH] osbuilder: Adjust agent_version for our builds
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
As we move things around when installing osbuilder, we need to adapt
where we get the agent_version from.
Signed-off-by: Fabiano Fidêncio <[email protected]>
---
tools/osbuilder/scripts/lib.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/osbuilder/scripts/lib.sh b/tools/osbuilder/scripts/lib.sh
index e7a39d8..f0a41b6 100644
--- a/tools/osbuilder/scripts/lib.sh
+++ b/tools/osbuilder/scripts/lib.sh
@@ -195,8 +195,7 @@ create_summary_file()
if [ "${RUST_AGENT}" == "no" ]; then
agent_version=$("$agent" --version|awk '{print $NF}')
else
- local -r agentdir="${script_dir}/../../../"
- agent_version=$(cat ${agentdir}/VERSION)
+ agent_version=$(cat "${script_dir}/../../VERSION")
fi
--
2.28.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。