File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ cd "$THIS_DIR"
2222
2323echo " === [$0 ] check env begin==="
2424env_assert " MR_WORKSPACE"
25- env_assert " MR_PRE_ROOT"
2625env_assert " MR_DOWNLOAD_URL"
2726env_assert " MR_DOWNLOAD_ONAME"
2827env_assert " MR_UNCOMPRESS_DIR"
@@ -57,7 +56,7 @@ function extract(){
5756}
5857
5958function install() {
60- local dst=" ${MR_PRE_ROOT} /${MR_DOWNLOAD_ONAME} "
59+ local dst=" ${MR_WORKSPACE} /pre /${MR_DOWNLOAD_ONAME} "
6160 if [[ -f " $dst " ]]; then
6261 echo " $dst already exist,skip download."
6362 else
Original file line number Diff line number Diff line change @@ -39,13 +39,11 @@ export MR_XCFRMK_DIR="${MR_WORKSPACE}/product/xcframework"
3939export MR_IOS_PRODUCT_ROOT=" ${MR_WORKSPACE} /product/ios"
4040export MR_MACOS_PRODUCT_ROOT=" ${MR_WORKSPACE} /product/macos"
4141export MR_TVOS_PRODUCT_ROOT=" ${MR_WORKSPACE} /product/tvos"
42- export MR_PRE_ROOT=" ${MR_WORKSPACE} /pre"
4342export MR_UNI_PROD_DIR=" ${MR_PRODUCT_ROOT} /universal"
4443export MR_UNI_SIM_PROD_DIR=" ${MR_PRODUCT_ROOT} /universal-simulator"
4544
4645
4746echo " MR_SRC_ROOT : [$MR_SRC_ROOT ]"
48- echo " MR_PRE_ROOT : [$MR_PRE_ROOT ]"
4947echo " MR_PRODUCT_ROOT: [$MR_PRODUCT_ROOT ]"
5048echo " MR_UNI_PROD_DIR: [$MR_UNI_PROD_DIR ]"
5149echo " MR_UNI_SIM_PROD_DIR: [$MR_UNI_SIM_PROD_DIR ]"
You can’t perform that action at this time.
0 commit comments