ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/Utilities/CVSmodule.pm
(Generate patch)

Comparing COMP/SCRAM/src/Utilities/CVSmodule.pm (file contents):
Revision 1.4 by williamc, Mon Aug 28 08:35:16 2000 UTC vs.
Revision 1.7 by sashby, Thu Jun 13 14:46:22 2002 UTC

# Line 27 | Line 27 | sub new {
27          bless $self, $class;
28          $self->{myenv}={};
29          $self->{cvs}='cvs';
30 #       $self->{cvs}='/usr/local/bin/cvs';
30          # Reset All variables
31          $self->{auth}="";
32          $self->{passkey}="";
33          $self->{user}="";
34          $self->{base}="";
35 < #       $self->{passbase}=$ENV{HOME}."/.cvspass";
37 <        $self->set_passbase("/tmp/CVSmodule/.cvspass");
35 >        $self->set_passbase("/tmp/".$>."CVSmodule/.cvspass");
36          return $self;
37   }
38  
# Line 91 | Line 89 | sub env {
89   sub invokecvs {
90          $self=shift;
91          @cmds=@_;
92 <        #make sure weve got the right environment
92 >        # make sure weve got the right environment
93          foreach $key ( %{$self->{myenv}} ) {
94            $ENV{$key}=$self->{myenv}{$key};
95          }
96 <        #now perform the cvs command
97 <        #print ( join ' ', ( $self->{cvs}, "-d", $self->{cvsroot}, @cmds, "\n" ));
100 <        system( "$self->{cvs}" , "-d", "$self->{cvsroot}", @cmds );
96 >        # now perform the cvs command
97 >        return ( system( "$self->{cvs}" ,"-Q", "-d", "$self->{cvsroot}", @cmds ));
98   }
99  
100   sub _updatecvsroot {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines