diff options
| -rwxr-xr-x | usr.sbin/pkg_install/update/pkg_update.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/update/pkg_update.pl b/usr.sbin/pkg_install/update/pkg_update.pl index 727a5bada335..078ce5db5c15 100755 --- a/usr.sbin/pkg_install/update/pkg_update.pl +++ b/usr.sbin/pkg_install/update/pkg_update.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/perl -w # Copyright (c) 2000 # Paul Richards. All rights reserved. @@ -29,7 +29,6 @@ # $FreeBSD$ #/ -use warnings; use strict; use File::Basename; @@ -117,7 +116,7 @@ my %requires; my $pkg = ""; my $update_pkg = ""; -our($opt_a, $opt_c, $opt_v, $opt_r, $opt_n); +use vars qw($opt_a $opt_c $opt_v $opt_r $opt_n); getopts('acnvr:'); if ($opt_a && $opt_c) { |
