From 21c9d179e042dddecd1da24b7faf04b3b8b67e6a Mon Sep 17 00:00:00 2001 From: "yudong.cz" Date: Tue, 11 Mar 2025 11:39:28 +0800 Subject: [PATCH] adapt T-one environment Signed-off-by: yudong.cz yudong.cz@alibaba-inc.com --- tests/trustee-function-test/install.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/trustee-function-test/install.sh b/tests/trustee-function-test/install.sh index 5bae47e..d4cc84e 100644 --- a/tests/trustee-function-test/install.sh +++ b/tests/trustee-function-test/install.sh @@ -3,9 +3,8 @@ # # Download variable: # WEB_URL= -GIT_URL="https://github.com/openanolis/trustee.git - https://kkgithub.com/openanolis/trustee.git" -BRANCH=main +GIT_URL=${clone_url:-https://github.com/openanolis/trustee.git} +BRANCH=${branch_name:-main} # fetch() @@ -16,6 +15,5 @@ build() install() { - cp -a $TONE_BM_BUILD_DIR $TONE_BM_RUN_DIR/trustee -} - \ No newline at end of file + cp -a $TONE_BM_BUILD_DIR $TONE_BM_RUN_DIR/trustee +} \ No newline at end of file -- Gitee