From 2af6c2902f0490ca5920791e665fd7448d3430b9 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Fri, 17 Sep 2010 23:04:46 +0200 Subject: [PATCH] install.pl: Fix chdir. Don't use path from current working directory, use path relative to $0 instead. Signed-off-by: Thomas Hochstein --- install/install.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.pl b/install/install.pl index 9b6b332..8db7d6a 100755 --- a/install/install.pl +++ b/install/install.pl @@ -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");