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.6 by williamc, Wed Nov 1 16:43:10 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}="";
36 #       $self->{passbase}=$ENV{HOME}."/.cvspass";
35          $self->set_passbase("/tmp/".$>."CVSmodule/.cvspass");
36          return $self;
37   }
# 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
99 <        #print ( join ' ', ( $self->{cvs}, "-d", $self->{cvsroot}, @cmds, "\n" ));
96 >        # now perform the cvs command
97          return ( system( "$self->{cvs}" ,"-Q", "-d", "$self->{cvsroot}", @cmds ));
98   }
99  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines