diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2011-01-04 13:48:25 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2011-01-04 13:48:25 +0000 |
commit | d9ed17ae2009bbcb4898170ed160279ebc0914dc (patch) | |
tree | 212d56c476f019d1a68963fb97740a1c197b3443 /usr.sbin/pkg_add | |
parent | 9b81c3ce326e0a7660ca76b5323696b65544d58c (diff) |
create tempfile directly under fake, no need to go down.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgCreate.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm index 626753e929f..37cca8bc235 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCreate.pm,v 1.38 2011/01/02 15:25:45 espie Exp $ +# $OpenBSD: PkgCreate.pm,v 1.39 2011/01/04 13:48:24 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -429,7 +429,7 @@ sub makesum_plist } my $dest = $self->source_to_dest; my $d = dirname($self->cwd."/".$dest); - my ($fh, $tempname) = OpenBSD::Temp::permanent_file($state->{base}.$d, + my ($fh, $tempname) = OpenBSD::Temp::permanent_file($state->{base}, "manpage.".basename($dest)); chmod 0444, $fh; if (-d $state->{base}.$d) { |