Package: moreutils
Version: 0.32
Severity: normal
Tags: patch

My patch for #411623 broke zrun when used as zrun. I have it aliased to
z, therefore I didn't notice. Sorry.

I can NMU the fix if you want.
--- /usr/bin/zrun       2008-10-27 04:48:10.000000000 +0100
+++ zrun        2008-10-31 20:54:37.000000000 +0100
@@ -42,7 +42,7 @@
 
 my $program;
 
-if ($0 =~ m{(?:^|/)z([^/]+)$}) {
+if ($0 =~ m{(?:^|/)z([^/]+)$} && $1 ne 'run') {
        $program = $1;
        if (! @ARGV) {
                die "Usage: z$1 <args>\nEquivalent to: zrun $1 <args>\n";

Reply via email to