summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Richards <paul@FreeBSD.org>2001-03-16 04:36:01 +0000
committerPaul Richards <paul@FreeBSD.org>2001-03-16 04:36:01 +0000
commit12ffaebbf02306493b0cceef0135a32940944d24 (patch)
tree575daf3f3046fa56e2ac8a1dee7fc1c2055cbef0
parent20520f559c5711a04f901cd16ba5dc1a110fc5e9 (diff)
Notes
-rwxr-xr-xusr.sbin/pkg_install/update/pkg_update.pl5
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) {