Daniel Gibbs před 10 roky
rodič
revize
63961792fc
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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