[Top][All Lists]
[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: |
Dmitry V. Levin |
Subject: |
Re: [PATCH] Fix "znew -K" to work without use of compress utility |
Date: |
Mon, 1 Feb 2010 14:48:12 +0300 |
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.
--
ldv
pgpZwcUtI4Ai3.pgp
Description: PGP signature