bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix "znew -K" to work without use of compress utility


From: Jim Meyering
Subject: Re: [PATCH] Fix "znew -K" to work without use of compress utility
Date: Mon, 01 Feb 2010 17:39:14 +0100

Dmitry V. Levin wrote:
> On Mon, Feb 01, 2010 at 11:08:52AM +0100, Jim Meyering wrote:
>> Jim Meyering wrote:
>> > Dmitry V. Levin wrote:
>
>> > diff --git a/tests/znew-k b/tests/znew-k
>> > index 652a9c8..f8430bd 100755
>> > --- a/tests/znew-k
>> > +++ b/tests/znew-k
>> > @@ -23,7 +23,7 @@ if test "$VERBOSE" = yes; then
>> >  fi
>> >
>> >  : ${srcdir=.}
>> > -. "$srcdir/tests/init.sh"; path_prepend_ "$PWD"
>> > +. "$srcdir/tests/init.sh"; path_prepend_ .
>>
>> Actually, I'm using this, now:
>>
>> . "$srcdir/tests/init.sh"; path_prepend_ . "`pwd`"
>>
>> >  cat <<'EOF' >compress || framework_failure
>> >  #!/bin/sh
>>
>> The "." is required to get the just-created gzip in the build directory,
>> and "`pwd`" is required to ensure that the just-created compress
>> script is in PATH.
>
> The "." is already added by TESTS_ENVIRONMENT in Makefile.am, so I decided
> to omit it.  In fact, I'd traced the test to ensure that these directories
> are properly prepended to the PATH.

Oh yeah.  Forgot I did that.
Thanks.

I'm going to remove all of those uses of path_prepend_,
except yours, above.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]