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);