Skip to content

Commit

Permalink
Merge pull request #96 from b-connect/master
Browse files Browse the repository at this point in the history
Fixes #89
  • Loading branch information
cweagans committed Jan 13, 2017
2 parents 7c0e4c5 + fafdada commit 8db8e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Patches.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ protected function getAndApplyPatch(RemoteFilesystem $downloader, $install_path,
}
else {
// Generate random (but not cryptographically so) filename.
$filename = uniqid("/tmp/") . ".patch";
$filename = uniqid(sys_get_temp_dir().'/') . ".patch";

// Download file from remote filesystem to this location.
$hostname = parse_url($patch_url, PHP_URL_HOST);
Expand Down

0 comments on commit 8db8e9b

Please sign in to comment.