summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/run_program.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm
index 6ab67f9ff..a3ac04354 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -54,7 +54,7 @@ sub raw {
$root ? ($root .= '/') : ($root = '');
if (!$root && !$::isStandalone) {
require install_any;
- install_any::check_prog(ref($name) ? $name->[0] : $name);
+ install_any::check_prog($real_name);
}
$ENV{HOME} || $::isInstall or $ENV{HOME} = '/root';