]> err.no Git - moreutils/commitdiff
Fix zrun breakage introduced last version. Closes: #504129
authorJoey Hess <joey@kodama.kitenet.net>
Fri, 31 Oct 2008 21:01:02 +0000 (17:01 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Fri, 31 Oct 2008 21:01:02 +0000 (17:01 -0400)
debian/changelog
zrun

index a80c97af2cc8284f0ae89b2e5d6d0a60f0ce311f..85816dca12c3d7db2e7c4410109dde2022c94f6d 100644 (file)
@@ -1,6 +1,7 @@
 moreutils (0.33) UNRELEASED; urgency=low
 
   * Support installing moreutils into prefixes other than /usr (Evan Broder)
+  * Fix zrun breakage introduced last version. Closes: #504129
 
  -- Joey Hess <joeyh@debian.org>  Mon, 27 Oct 2008 22:41:08 -0400
 
diff --git a/zrun b/zrun
index cedfbaee3b39348daa81758057c0adbe66374dbd..50026eb2735406f35fefda0ba6b12a0ca05c559c 100755 (executable)
--- a/zrun
+++ b/zrun
@@ -42,7 +42,7 @@ use File::Temp qw{tempfile};
 
 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";