From 87cd4a0cf4dd3af6fd2e78b2b7a8ca5d2c8860d7 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Mon, 24 Jun 2002 13:18:19 +0000 Subject: [PATCH] Perl 5.005 doesn't like the -I after the script name. --- installer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.pl b/installer.pl index aed303e088..8c722b5032 100644 --- a/installer.pl +++ b/installer.pl @@ -457,7 +457,7 @@ system("$mysqldir/bin/mysql -u$mysqluser -p$mysqlpass mysql -e \"insert into use system("$mysqldir/bin/mysql -u$mysqluser -p$mysqlpass mysql -e \"insert into db (Host,Db,User,Select_priv,Insert_priv,Update_priv,Delete_priv) values ('%','$dbname','$user','Y','Y','Y','Y');"); system("$mysqldir/bin/mysqladmin -u$mysqluser -p$mysqlpass reload"); -system ("perl scripts/updater/updatedatabase -I $kohadir/modules"); +system ("perl -I $kohadir/modules scripts/updater/updatedatabase"); #RESTART APACHE