install.pl: Fix chdir.
authorThomas Hochstein <thh@inter.net>
Fri, 17 Sep 2010 21:04:46 +0000 (23:04 +0200)
committerThomas Hochstein <thh@inter.net>
Sat, 18 Sep 2010 18:45:26 +0000 (20:45 +0200)
Don't use path from current working directory, use path
relative to $0 instead.

Signed-off-by: Thomas Hochstein <thh@inter.net>
install/install.pl

index 9b6b332..8db7d6a 100755 (executable)
@@ -31,7 +31,7 @@ use DBI;
 my %Options = &ReadOptions('');\r
 \r
 ### change working directory to .. (as we're in .../install)\r
-chdir '..';\r
+chdir dirname($0).'/..';\r
 \r
 ### read configuration\r
 print("Reading configuration.\n");\r
This page took 0.010243 seconds and 4 git commands to generate.