diff options
author | steve <steve@FreeBSD.org> | 1998-10-20 09:28:34 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-10-20 09:28:34 +0800 |
commit | df1de557030e83613a2db05f2d3d7b7812819d94 (patch) | |
tree | d0c5bc1ddb084d3f3e278c54553b8a89f95005e6 /databases | |
parent | 00850fab364f76fc6145cd54a42edff34babde74 (diff) | |
download | freebsd-ports-gnome-df1de557030e83613a2db05f2d3d7b7812819d94.tar.gz freebsd-ports-gnome-df1de557030e83613a2db05f2d3d7b7812819d94.tar.zst freebsd-ports-gnome-df1de557030e83613a2db05f2d3d7b7812819d94.zip |
closedir takes one argument.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/msql/scripts/check_old_version | 4 | ||||
-rw-r--r-- | databases/msql3/scripts/check_old_version | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/databases/msql/scripts/check_old_version b/databases/msql/scripts/check_old_version index 93307e1ffa28..72c594023f72 100644 --- a/databases/msql/scripts/check_old_version +++ b/databases/msql/scripts/check_old_version @@ -1,13 +1,13 @@ #!/usr/bin/perl # -# $Id: check_old_version,v 1.1 1997/07/14 12:43:38 jfitz Exp $ +# $Id: check_old_version,v 1.3 1998/02/13 10:54:49 tg Exp $ # if( -d "/var/db/msqldb" ) { chdir( "/var/db/pkg" ); opendir( DIR, "." ); @oldmsql = grep( /^msql-2.0b[1234]$/, readdir( DIR ) ); - closedir; + closedir( DIR ); if( @oldmsql ) { if( ! $ENV{OVERWRITE_DB} ) { print <<END; diff --git a/databases/msql3/scripts/check_old_version b/databases/msql3/scripts/check_old_version index 93307e1ffa28..72c594023f72 100644 --- a/databases/msql3/scripts/check_old_version +++ b/databases/msql3/scripts/check_old_version @@ -1,13 +1,13 @@ #!/usr/bin/perl # -# $Id: check_old_version,v 1.1 1997/07/14 12:43:38 jfitz Exp $ +# $Id: check_old_version,v 1.3 1998/02/13 10:54:49 tg Exp $ # if( -d "/var/db/msqldb" ) { chdir( "/var/db/pkg" ); opendir( DIR, "." ); @oldmsql = grep( /^msql-2.0b[1234]$/, readdir( DIR ) ); - closedir; + closedir( DIR ); if( @oldmsql ) { if( ! $ENV{OVERWRITE_DB} ) { print <<END; |