Fixed Update WHDLoad XML wouldn't rename tmp files
This commit is contained in:
parent
422dbe6f0f
commit
ed8d950245
1 changed files with 2 additions and 1 deletions
|
@ -980,7 +980,8 @@ long get_file_size(const std::string& filename)
|
|||
bool download_file(const std::string& source, std::string destination)
|
||||
{
|
||||
std::string download_command = "wget -np -nv -O ";
|
||||
const auto tmp = destination.append(".tmp");
|
||||
auto tmp = destination;
|
||||
tmp = tmp.append(".tmp");
|
||||
|
||||
download_command.append(tmp);
|
||||
download_command.append(" ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue