diff options
author | steve <steve@FreeBSD.org> | 1998-01-12 01:59:01 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-01-12 01:59:01 +0800 |
commit | 2320d5ca415392b60297a0749f894bfeb41bb05a (patch) | |
tree | 77dd65d54834bb47eae02896c987bdf4fe55c770 /databases/msql3/scripts | |
parent | 26e62d0dbf594bede31f671aa81a841b20b25635 (diff) | |
download | freebsd-ports-gnome-2320d5ca415392b60297a0749f894bfeb41bb05a.tar.gz freebsd-ports-gnome-2320d5ca415392b60297a0749f894bfeb41bb05a.tar.zst freebsd-ports-gnome-2320d5ca415392b60297a0749f894bfeb41bb05a.zip |
closedir(...) requires a DIR argument.
PR: 5177
Submitted by: Yen-Shuo Su <yssu@CCCA.NCTU.edu.tw>
Diffstat (limited to 'databases/msql3/scripts')
-rw-r--r-- | databases/msql3/scripts/check_old_version | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/msql3/scripts/check_old_version b/databases/msql3/scripts/check_old_version index ea046b99543f..71ddbace8f25 100644 --- a/databases/msql3/scripts/check_old_version +++ b/databases/msql3/scripts/check_old_version @@ -1,13 +1,13 @@ #!/usr/bin/perl # -# $Id$ +# $Id: check_old_version,v 1.1 1997/07/14 12:43:38 jfitz 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; |