From 36bcabcc743b9406c6b8747791266ac01e35016a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 18 Dec 2005 12:04:39 +0000 Subject: fix bad typo --- perl-install/run_program.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) { -- cgit v1.2.1