summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Delete.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-12-17 11:57:03 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-12-17 11:57:03 +0000
commit3296e7032a5722662e4890b3cc665052c149146c (patch)
tree0a3efe478055cb63c467f600f927897a7bd7fe61 /usr.sbin/pkg_add/OpenBSD/Delete.pm
parentf8bc27535e85cc30b00539ba1b0d8e0c0dece15a (diff)
be slightly more paranoid about shell stuff we run.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Delete.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Delete.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm
index 4cd6910c6a9..3eb10aab77b 100644
--- a/usr.sbin/pkg_add/OpenBSD/Delete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Delete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Delete.pm,v 1.92 2009/12/17 08:21:09 espie Exp $
+# $OpenBSD: Delete.pm,v 1.93 2009/12/17 11:57:02 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -560,7 +560,7 @@ sub delete
unless ($state->{not}) {
my $fullname = $state->{destdir}.$self->fullname;
$state->vsystem(OpenBSD::Paths->install_info,
- "--delete", "--info-dir=".dirname($fullname), $fullname);
+ "--delete", "--info-dir=".dirname($fullname), '--', $fullname);
}
$self->SUPER::delete($state);
}