Skip to content

Commit

Permalink
Item13935: Fix paths in genwebnotify.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Jan 26, 2016
1 parent 1422b63 commit b670997
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/tools/develop/genwebnotify.pl
Expand Up @@ -5,9 +5,12 @@
#
use strict;

my $where = '/home/foswiki.org/public_html/data/Tasks';
my $ROOT = '/var/www/trunk.foswiki.org';
my $PROD = '/var/www/foswiki.org';

my $where = "$PROD/data/Tasks";
my $text =
`cd /home/trunk.foswiki.org/core/bin && perl -T ./view topic="Tasks.GenerateWebNotify" -skin text -contenttype text/plain`;
`cd $ROOT/core/bin && perl ./view topic="Tasks.GenerateWebNotify" -skin text -contenttype text/plain`;
my %topics;
foreach my $line ( split( /\r?\n/, $text ) ) {
$line =~ s#(TWiki:)?Main[./]##g;
Expand Down

0 comments on commit b670997

Please sign in to comment.