Changeset 5 in ProjectBuilder for devel/pb/lib/cms.pm


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/lib/cms.pm

    r2 r5  
    2424    $ret =  $? >> 8;
    2525    if ($ret == 0) {
    26         $ENV{'REVISION'}=`(cd $TOOLHOME/.. ; svnversion .)`;
     26        $ENV{'REVISION'}=`(cd $PBROOT/.. ; svnversion .)`;
    2727        $ENV{'CMSLOG'}="svn log";
    2828        $ENV{'CMSEXP'}="svn export";
    2929    } else {
    3030        # By default if not SVN take CVS
    31         $ENV{'REVISION'}=`(cd $TOOLHOME/.. ; cvs  rannotate  -f . 2>&1 | awk '{print $1}' | grep -E '^[0-9]' | cut -d. -f2 |sort -nu | tail -1)`;
     31        $ENV{'REVISION'}=`(cd $PBROOT/.. ; cvs  rannotate  -f . 2>&1 | awk '{print $1}' | grep -E '^[0-9]' | cut -d. -f2 |sort -nu | tail -1)`;
    3232        $ENV{'CMSLOG'}="cvs log";
    3333        $ENV{'CMSEXP'}="cvs export"
Note: See TracChangeset for help on using the changeset viewer.