summaryrefslogtreecommitdiffstats
path: root/perl-install/run_program.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/run_program.pm')
-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 07a966cc6..6d5a36c30 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -45,7 +45,7 @@ sub raw {
return 1 if $root && $<;
- $root ? $root .= '/' : ($root = '');
+ $root ? ($root .= '/') : ($root = '');
install_any::check_prog(ref $name ? $name->[0] : $name) if !$root && $::isInstall;