summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-11-07 11:48:43 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-11-07 11:48:43 +0000
commita42eb0a3c0dfa1df88a1797e17eae79531281257 (patch)
tree0e1d4a31d184e75e40874a6748efddb6f9a0cdb6 /usr.sbin
parent791f1e923715ec0753874daed1a228e49a03caf0 (diff)
don't try to be smart and not store the full tempname: we don't use this
except in rare cases, so it doesn't matter if the tempname is long, and it doesn't justify missing extra code to restore it when reading the packing-list...
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
index 9b85a061da0..ccbbdfbc11e 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackingElement.pm,v 1.61 2004/11/06 12:19:17 espie Exp $
+# $OpenBSD: PackingElement.pm,v 1.62 2004/11/07 11:48:42 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -264,7 +264,7 @@ sub write
print $fh "\@link ", $self->{link}, "\n";
}
if (defined $self->{tempname}) {
- print $fh "\@temp ", basename($self->{tempname}), "\n";
+ print $fh "\@temp ", $self->{tempname}, "\n";
}
}