From: Joey Hess Date: Fri, 31 Oct 2008 21:01:02 +0000 (-0400) Subject: Fix zrun breakage introduced last version. Closes: #504129 X-Git-Tag: 0.33~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0815e5fa8d11ea9bd235d536e02e108ab1cecb43;p=moreutils Fix zrun breakage introduced last version. Closes: #504129 --- diff --git a/debian/changelog b/debian/changelog index a80c97a..85816dc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 27 Oct 2008 22:41:08 -0400 diff --git a/zrun b/zrun index cedfbae..50026eb 100755 --- 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 \nEquivalent to: zrun $1 \n";