diff options
author | Joey Hess <joey@kitenet.net> | 2010-11-29 12:01:50 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-11-29 12:01:50 -0400 |
commit | 78a22e2eb2d3b963c48067367f6ded5da061eb81 (patch) | |
tree | 50e2b62e16a55c6cf9f7a1013e8db31ccbd7b805 | |
parent | 47b4682ba7e8d2a0a5da87adbfb4adc3f857370f (diff) | |
download | ikiwiki-78a22e2eb2d3b963c48067367f6ded5da061eb81.tar ikiwiki-78a22e2eb2d3b963c48067367f6ded5da061eb81.tar.gz |
git: Fix temp file location.
-rw-r--r-- | IkiWiki/Plugin/git.pm | 2 | ||||
-rw-r--r-- | debian/changelog | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index 3fa29b22f..39d88d002 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -797,7 +797,7 @@ sub git_parse_changes { eval q{use File::Temp}; die $@ if $@; my $fh; - ($fh, $path)=File::Temp::tempfile("XXXXXXXXXX", UNLINK => 1); + ($fh, $path)=File::Temp::tempfile(undef, UNLINK => 1); my $cmd = "cd $git_dir && ". "git show $detail->{sha1_to} > '$path'"; if (system($cmd) != 0) { diff --git a/debian/changelog b/debian/changelog index d236361d2..6f97399d8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,7 @@ ikiwiki (3.20101113) UNRELEASED; urgency=low of the highlight package. * edittemplate: Fix crash if using a .tmpl file or other non-page file as a template for a new page. + * git: Fix temp file location. -- Joey Hess <joeyh@debian.org> Tue, 16 Nov 2010 14:23:47 -0400 |