summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/do_pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm
index 8b56be26c..a8ea89e1e 100644
--- a/perl-install/do_pkgs.pm
+++ b/perl-install/do_pkgs.pm
@@ -117,7 +117,7 @@ sub _find_file {
-e "$::prefix$file";
} else {
# assume it's a binary to search in $PATH:
- whereis_binary($file, $prefix);
+ whereis_binary($file, $::prefix);
}
}