flexbackup-1.2.1-bash.patch 445 B

12345678910111213141516171819
  1. --- flexbackup 2005-06-16 20:28:04.577086588 -0700
  2. +++ flexbackup 2005-06-16 22:21:14.787322560 -0700
  3. @@ -5396,10 +5396,10 @@
  4. my $shell = $1;
  5. my $ver = $2;
  6. if ($shell eq 'bash') {
  7. - if ($ver =~ m/^2/) {
  8. - $::shelltype{$host} = 'bash2';
  9. - } else {
  10. + if ($ver =~ m/^1/) {
  11. $::shelltype{$host} = 'bash1';
  12. + } else {
  13. + $::shelltype{$host} = 'bash2';
  14. }
  15. } else {
  16. $::shelltype{$host} = $shell;