diff options
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 4ec01334c..5dfea7d79 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -87,8 +87,8 @@ sub shells($) { sub setPackages { my ($o) = @_; - eval { $o->{packages} = pkgs::psUsingHdlist() }; - $@ and $o->{packages} = pkgs::psUsingDirectory(); + eval { $o->{packages} = pkgs::psUsingHdlist() } if $o->{method} ne "nfs"; + $o->{packages} = pkgs::psUsingDirectory() if $o->{method} eq "nfs" || $@; pkgs::getDeps($o->{packages}); $o->{compss} = pkgs::readCompss($o->{packages}); |