]> mj.ucw.cz Git - pciids.git/blobdiff - scripts/initdb.pl
Merge branch 'master' of /home/vorner/pciids
[pciids.git] / scripts / initdb.pl
index 730bfd3f0603952effd275ded0603334b183ec14..5194321721e1092a89259e46ff4a85bf76adbb1c 100755 (executable)
@@ -25,6 +25,7 @@ BEGIN {
 }
 use PciIds::Config;
 use PciIds::Db;
+use PciIds::Startup;
 use DBI;
 
 my @lines;
@@ -46,7 +47,7 @@ sub createTable( $ ) {
 }
 
 my $dbh = connectDb();
-open TABLES, "tables" or die "Could not open table definitions\n";
+open TABLES, $directory."cf/tables" or die "Could not open table definitions\n";
 foreach( <TABLES> ) {
        chomp;
        if( /^\s*$/ ) {