summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-08-24 20:00:24 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-08-24 20:00:24 +0000
commit9062c92ba51a7170424f825c60e5ff5ec46c85dd (patch)
tree87d6ac3e24fa81ba65847ce0bff69894ab5ceacc /perl-install/install_any.pm
parent10b649b6503f47388f1548c8ba9391dd6ce0284e (diff)
downloaddrakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar
drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar.gz
drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar.bz2
drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar.xz
drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.zip
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 155f2ef04..58fde0abd 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -77,7 +77,7 @@ sub mouse_detect() {
sub shells($) {
my ($o) = @_;
- my @l = grep { 1 || -x "$o->{prefix}$_" } @{$o->{default}{shells}};
+ my @l = grep { -x "$o->{prefix}$_" } @{$o->{default}{shells}};
@l or die "no shell available";
@l;
}