summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-12-18 12:04:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-12-18 12:04:39 +0000
commit36bcabcc743b9406c6b8747791266ac01e35016a (patch)
tree6b1228b6e431201cf6537f304046d586bd2028b1 /perl-install
parent0ececdf218c9042e233205214ccb8a0c4632487f (diff)
downloaddrakx-36bcabcc743b9406c6b8747791266ac01e35016a.tar
drakx-36bcabcc743b9406c6b8747791266ac01e35016a.tar.gz
drakx-36bcabcc743b9406c6b8747791266ac01e35016a.tar.bz2
drakx-36bcabcc743b9406c6b8747791266ac01e35016a.tar.xz
drakx-36bcabcc743b9406c6b8747791266ac01e35016a.zip
fix bad typo
Diffstat (limited to 'perl-install')
-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 042f4883e..c836efd72 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -63,7 +63,7 @@ sub raw {
my $stderr = $stderr_raw && (ref($stderr_raw) ? $tmpdir->() . "/.drakx-stderr.$$" : "$root$stderr_raw");
#- checking if binary exist to avoid cloberring stdout file
- my ($rname) = $real_name =~ /(.*)[\s\|]/;
+ my ($rname) = $real_name =~ /(.*?)[\s\|]/;
if (! ($rname =~ m!^/!
? -x "$root$rname" || $root && -l "$root$rname" #- handle non-relative symlink which can be broken when non-rooted
: whereis_binary($rname, $root))) {