From 4ab188852c99e238817facb0bc2fd38acc28241f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 9 Sep 2004 02:53:05 +0000 Subject: don't check_prog when the prog is a complex command (containing a pipe) --- perl-install/run_program.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/run_program.pm') diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm index a3ac04354..a560d8c34 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($real_name); + install_any::check_prog($real_name) if $real_name !~ /\|/; } $ENV{HOME} || $::isInstall or $ENV{HOME} = '/root'; -- cgit v1.2.1