OSSP CVS Repository

ossp - Difference in ossp-pkg/shiela/shiela.pl versions 1.24 and 1.25
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/shiela/shiela.pl 1.24 -> 1.25

--- shiela.pl    2002/12/21 11:40:34     1.24
+++ shiela.pl    2002/12/21 12:23:31     1.25
@@ -175,11 +175,11 @@
         }
         return $prog;
     }
-    $RT->{sendmail} = $CF->{Environment}->{Program}->{cvs} ||
+    $RT->{sendmail} = $CF->{Environment}->{Program}->{sendmail} ||
                       &find_program("ssmtp") ||
                       &find_program("sendmail") || 
                       die "unable to find `sendmail' program";
-    $RT->{cvs}      = $CF->{Environment}->{Program}->{sendmail} ||
+    $RT->{cvs}      = $CF->{Environment}->{Program}->{cvs} ||
                       &find_program("cvs") || 
                       die "unable to find `cvs' program";
     $RT->{diff}     = $CF->{Environment}->{Program}->{diff} ||
@@ -446,6 +446,9 @@
                 }
             }
         }
+        elsif ($action eq 'CMD' and $cf->[0] eq 'Program') {
+            $CF->{Environment}->{Program}->{$cf->[1]} = $cf->[2];
+        }
         return $cf;
     }
     return $CF;

CVSTrac 2.0.1