Skip to content

Commit e149592

Browse files
committedJan 6, 2012
Fix perl syntax errors in the setup script.
1 parent 6ab2469 commit e149592

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎wre/sbin/wresetup.pl

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
#-------------------------------------------------------------------
3030
# server daemon
31-
my $wreConfig = WRE::Config->new;
32-
my $host = WRE::Host->new(wreConfig => $wreConfig);
33-
my $file = WRE::File->new(wreConfig => $wreConfig);
31+
my $config = WRE::Config->new;
32+
my $host = WRE::Host->new(wreConfig => $config);
33+
my $file = WRE::File->new(wreConfig => $config);
3434

3535
$file->makePath($config->getDomainRoot("/demo"));
3636
$file->copy($config->getRoot("/var/setupfiles/demo.nginx"), $config->getRoot("/etc/demo.nginx"),

0 commit comments

Comments
 (0)
Please sign in to comment.