summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-01-04 13:48:25 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-01-04 13:48:25 +0000
commitd9ed17ae2009bbcb4898170ed160279ebc0914dc (patch)
tree212d56c476f019d1a68963fb97740a1c197b3443 /usr.sbin/pkg_add
parent9b81c3ce326e0a7660ca76b5323696b65544d58c (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.pm4
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) {