shenshihai 2 年之前
父节点
当前提交
0b916333da
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Utility.php

+ 1 - 1
src/Utility.php

@@ -320,7 +320,7 @@ function downloadToDir($toolDir,$downClient,$ossHost,$repoName,$fileName,$target
 	}
 	else{
 		$wget = getWgetPath($toolDir);
-		$cmd = $wget. " " . $remoteUrl . " -O=" . $targetPath;
+		$cmd = $wget. " " . $remoteUrl . " -O " . $targetPath;
 	}
 	logInfo("start to fetch file --",$cmd);
 	system($cmd, $ret);