projects
/
usenet
/
newsstats.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b310df
)
Fix config path detection for install.pl.
author
Thomas Hochstein
<thh@inter.net>
Mon, 2 Sep 2013 04:44:32 +0000
(06:44 +0200)
committer
Thomas Hochstein
<thh@inter.net>
Mon, 2 Sep 2013 10:04:11 +0000
(12:04 +0200)
install.pl is located in .../install, so replace
this component in $HomePath with '.' and change
'..' to '.' as configuration is located in .../.
Signed-off-by: Thomas Hochstein <thh@inter.net>
install/install.pl
patch
|
blob
|
blame
|
history
diff --git
a/install/install.pl
b/install/install.pl
index
374d74b
..
0787805
100755
(executable)
--- a/
install/install.pl
+++ b/
install/install.pl
@@
-40,6
+40,8
@@
chdir dirname($0).'/..';
my $Path = cwd();
### read configuration
+$HomePath = '..' if ($HomePath eq '.');
+$HomePath =~ s/install/./;
print("Reading configuration.\n");
my %Conf = %{ReadConfig($HomePath.'/newsstats.conf')};
This page took
0.012082 seconds
and
4
git commands to generate.