Ignore:
Timestamp:
Feb 7, 2008, 7:59:40 PM (12 years ago)
Author:
bruno
Message:
  • Fixes for CVS support: remove CVSROOT
  • prepare chroot support
  • fix for debian build in case a debian dir/link already exists in the project
  • only call qemu tools if using qemu as a VM :-)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/lib/ProjectBuilder/Base.pm

    r300 r310  
    809809    # Export content if needed
    810810    #
    811     my ($cvsroot,$cvsrsh) = pb_conf_get("cvsroot","cvsrsh");
    812     $ENV{'CVSROOT'} = $cvsroot->{$proj} if (defined $cvsroot->{$proj});
     811    my ($cvsrsh) = pb_conf_get("cvsrsh");
    813812    $ENV{'CVS_RSH'} = $cvsrsh->{$proj} if (defined $cvsrsh->{$proj});
    814813} else {
     
    852851    }
    853852    # CVS needs a relative path !
    854     pb_system("cd $dir ; cvs export -D \"$pbdate\" -d $base $tmp1","Exporting $source from CVS to $destdir");
     853    my ($cvsroot) = pb_conf_get("cvsroot");
     854    pb_system("cd $dir ; cvs -d $cvsroot->{$ENV{'PBPROJ'}} export -D \"$pbdate\" -d $base $tmp1","Exporting $source from CVS to $destdir");
    855855} else {
    856856    die "cms $cms->{$ENV{'PBPROJ'}} unknown";
Note: See TracChangeset for help on using the changeset viewer.