Skip to content

Commit

Permalink
Fix regression in UpdateUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Apr 26, 2011
1 parent bb78c5e commit f6bc277
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ static void get(final URL srcUrl, final File destFile, final String username, fi
}
getTask.execute();

moveFile(destFile, newDestFile);
moveFile(newDestFile, destFile);
} catch (BuildException e) {
logger.error(
"Error getting URL <" + srcUrl + ">" + (null != username ? "(user: " + username + ", pass: ****) " : "") + e
Expand Down

0 comments on commit f6bc277

Please sign in to comment.