summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-01-11 13:40:59 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-01-11 13:40:59 +0000
commit8e51bbe7705c515277ecd8d611c73d4bd7f2e0c4 (patch)
treee507fa39386e267492bb067ae51db4f3488c4dfb
parent143b539377c49abe7d041c4afea252467ec5c274 (diff)
quirks is special here too, oops.
-rw-r--r--usr.sbin/pkg_add/pkg_add3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index 64c077d5d39..8223c138029 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.467 2010/01/11 12:49:53 espie Exp $
+# $OpenBSD: pkg_add,v 1.468 2010/01/11 13:40:58 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -974,6 +974,7 @@ sub process_parameters
for my $pkgname (@ARGV) {
my $l;
+ next if $pkgname =~ m/^quirks\-\d/;
if (OpenBSD::PackageName::is_stem($pkgname)) {
$l = $state->updater->stem2location($inst, $pkgname, $state);
} else {