install.pl: Fix chdir.

Don't use path from current working directory, use path
relative to $0 instead.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2010-09-17 23:04:46 +02:00
parent b221278d97
commit 2af6c2902f

View file

@ -31,7 +31,7 @@ use DBI;
my %Options = &ReadOptions('');
### change working directory to .. (as we're in .../install)
chdir '..';
chdir dirname($0).'/..';
### read configuration
print("Reading configuration.\n");