Daniel Gibbs 10 年之前
父節點
當前提交
63961792fc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/core_dl.sh

+ 1 - 1
functions/core_dl.sh

@@ -43,7 +43,7 @@ dl_md5=$4
 if [ ! -f "${dl_filepath}/${dl_filename}" ]||[ -n "${retry_dl}" ]; then
 	echo -ne "downloading ${dl_filename}...\c"
 
-	local dl=$(curl --fail -o "${dl_filepath}" "${dl_url}")
+	local dl=$(curl --fail -o "${dl_filepath}/${dl_filename}" "${dl_url}")
 	local exitcode=$?
 	if [ ${exitcode} -ne 0 ]; then
 		fn_printfaileol