Merge branch 'main' of https://github.com/Oreomeow/VIP into main
This commit is contained in:
commit
31f66669f3
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Build 20210810-001
|
||||
# Build 20210810-002
|
||||
|
||||
name_js=(
|
||||
jd_fruit
|
||||
@ -157,10 +157,12 @@ TempBlock_JD_COOKIE
|
||||
for ((i = 0; i < ${#env_name[*]}; i++)); do
|
||||
case $1 in
|
||||
*${name_js[i]}.js | *${name_js[i]}.ts)
|
||||
. $dir_log/.ShareCode/${name_config[i]}.log
|
||||
result=$(combine_sub ${var_name[i]})
|
||||
if [[ $result ]]; then
|
||||
export ${env_name[i]}=$result
|
||||
if [[ -f ${name_config[i]}.log ]]; then
|
||||
. $dir_log/.ShareCode/${name_config[i]}.log
|
||||
result=$(combine_sub ${var_name[i]})
|
||||
if [[ $result ]]; then
|
||||
export ${env_name[i]}=$result
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user