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:
parent
b221278d97
commit
2af6c2902f
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue