diff --git a/AAP.sh b/AAP.sh index de4d2e3..df399ab 100755 --- a/AAP.sh +++ b/AAP.sh @@ -84,6 +84,7 @@ In addition, you can use \`APTOOLDEBUG=1 ${0} [ARGS]\` format to enter verbose m } # 参数解析 +DOWNFILES=true while getopts ":hvi:k:KIVs:Sd:E:c:" OPT; do # $OPTARG case $OPT in @@ -109,7 +110,6 @@ while getopts ":hvi:k:KIVs:Sd:E:c:" OPT; do if [[ ${MISSINGFILES} -gt 0 ]]; then msg_fatal "There are ${MISSINGFILES} files missing, and we need 4 files in total. Please read the instructions in ${0} -h." msg_info "Omit the -d parameter; the file will be downloaded remotely." - DOWNFILES=true else msg_info "The work directory was manually specified: ${WORKDIR}. AAPFunction, kptools and kpimg will not be downloaded again." DOWNFILES=false