Skip to content

Commit

Permalink
fix build_chain parse config failed and delete output directory (FISC…
Browse files Browse the repository at this point in the history
  • Loading branch information
bxq2011hust authored Jan 28, 2021
1 parent 751002b commit 643cb70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/build_chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1649,6 +1649,9 @@ prepare_ca(){
main()
{
output_dir="$(pwd)/${output_dir}"
dir_must_not_exists "${output_dir}"
mkdir -p "${output_dir}"

[ -z $use_ip_param ] && help 'ERROR: Please set -l or -f option.'
if [ "${use_ip_param}" == "true" ];then
ip_array=(${ip_param//,/ })
Expand All @@ -1661,8 +1664,6 @@ else
fi


dir_must_not_exists "${output_dir}"
mkdir -p "${output_dir}"

# if [ -z "${compatibility_version}" ];then
# set +e
Expand Down

0 comments on commit 643cb70

Please sign in to comment.