diff --git a/tests/trustee-function-test/install.sh b/tests/trustee-function-test/install.sh index 5bae47e80a817d9a4013c6c582949afb4027cdb4..d4cc84ef3ba4aa0ceea06ba6f971aaf07b646c1a 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