Changeset 5 in ProjectBuilder for devel/pb/bin/mknewshtml.pl


Ignore:
Timestamp:
Jul 29, 2007, 12:50:34 AM (17 years ago)
Author:
Bruno Cornec
Message:

Lots of modifs to find the right way. Probably still not good

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/mknewshtml.pl

    r2 r5  
    1818$ENV{LANG}="C";
    1919
    20 my $TOOLHOME;
     20my $PBROOT;
    2121my $tmp = dirname($PROGRAM_NAME);
    2222if ($tmp =~ /^\//) {
    23     $TOOLHOME = $tmp;
     23    $PBROOT = $tmp;
    2424    }
    2525else {
    26     $TOOLHOME = "$ENV{PWD}/$tmp";
     26    $PBROOT = "$ENV{PWD}/$tmp";
    2727    }
    2828
    2929my $lastnews="$ARGV[0]/latest-news.html";
    3030my $news="$ARGV[0]/news.shtml";
    31 my $db="$TOOLHOME/../website/announces3.sql";
     31my $db="$PBROOT/../website/announces3.sql";
    3232
    3333print "Using Database $db\n";
Note: See TracChangeset for help on using the changeset viewer.