summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-11-20 11:42:51 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-11-20 11:42:51 +0000
commitca7ca07604131cd5a46ffec17aa7d091d8db9bfd (patch)
tree82cd83ceccc02174ee473441a42ac23e91142e85 /regress
parent02f7b78940d96647e321792e367aceba0ab0cfc2 (diff)
fix things post signature, as noticed by various people
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.sbin/pkg_add/my5
1 files changed, 4 insertions, 1 deletions
diff --git a/regress/usr.sbin/pkg_add/my b/regress/usr.sbin/pkg_add/my
index b1712039538..aff0c26ca84 100644
--- a/regress/usr.sbin/pkg_add/my
+++ b/regress/usr.sbin/pkg_add/my
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: my,v 1.1 2011/07/13 11:57:10 espie Exp $
+# $OpenBSD: my,v 1.2 2014/11/20 11:42:50 espie Exp $
#
# Copyright (c) 2011 Marc Espie <espie@openbsd.org>
#
@@ -32,6 +32,9 @@ my @args = ('-D', 'nonroot', @ARGV);
if ($prog ne 'pkg_info') {
unshift(@args, '-B', $root);
}
+if ($prog eq 'pkg_add') {
+ unshift(@args, '-D', 'unsigned');
+}
if ($ENV{'DEBUG'}) {
unshift(@args, 'perl', '-d', "/usr/sbin/$prog", '-D', 'debug');
$run = 'perl';