summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-06-10 15:44:06 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-06-10 15:44:06 +0000
commit11a2a08a5f77ee13343fb019b9d8f48d7454d101 (patch)
tree07c46c1884f1463b7d0777fc3b80e21d488b91b1 /usr.sbin/pkg_add
parenta0bea1e9fe56bd2eca7e13f69877cf81e1c09027 (diff)
zap double /, as noticed by brad
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_create4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create
index 2d105dc2604..364e35a22dd 100644
--- a/usr.sbin/pkg_add/pkg_create
+++ b/usr.sbin/pkg_add/pkg_create
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_create,v 1.121 2009/04/19 14:58:32 espie Exp $
+# $OpenBSD: pkg_create,v 1.122 2009/06/10 15:44:05 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -81,7 +81,7 @@ sub compute_checksum
my $name = $self->fullname;
my $fname = $name;
if (defined $base) {
- $fname = "$base/$fname";
+ $fname = $base.$fname;
}
if (-l $fname) {