diff options
-rw-r--r-- | usr.sbin/pkg/pkg.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg/pkg.pl b/usr.sbin/pkg/pkg.pl index 594f584498f..8b705b496c2 100644 --- a/usr.sbin/pkg/pkg.pl +++ b/usr.sbin/pkg/pkg.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg.pl,v 1.2 2001/04/13 17:05:24 espie Exp $ +# $OpenBSD: pkg.pl,v 1.3 2001/04/24 22:14:10 espie Exp $ # # Copyright (c) 2001 Marc Espie. # @@ -150,6 +150,7 @@ sub check_flavor # no flavor constraints return 1 if $spec eq ''; + $spec =~ s/^-//; # retrieve all flavors my %f = map +($_, 1), split /\-/, $f; |