Check-in Number:
|
3004 | |
Date: |
2002-Dec-21 13:23:31 (local)
2002-Dec-21 12:23:31 (UTC) |
User: | rse |
Branch: | |
Comment: |
fix Environment parsing |
Tickets: |
|
Inspections: |
|
Files: |
|
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;
|
|