Re: gzip tries to unpack/pack 1st the filename of $GZIP

2010-10-15 Thread Giorgos Keramidas
On Thu, 14 Oct 2010 10:36:59 +0200, Matthias Apitz wrote: > Hello, > > I was facing a problem in some Makefile/shell-scripting and finally I > could nail it down: > > when you set the environment variable GZIP to something, for example to > let it point to gzip itself, it tries 1st to unpack this

Re: gzip tries to unpack/pack 1st the filename of $GZIP

2010-10-14 Thread Lowell Gilbert
Matthias Apitz writes: > Why? > > $ FIX=foo export FIX > $ env | fgrep FIX > FIX=foo > Sorry; I'm not sure how I fooled myself on that -- I didn't keep the example I tested on.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/ma

Re: gzip tries to unpack/pack 1st the filename of $GZIP

2010-10-14 Thread Devin Teske
On Thu, 2010-10-14 at 16:48 +0200, Matthias Apitz wrote: > El día Thursday, October 14, 2010 a las 10:39:13AM -0400, Lowell Gilbert > escribió: > > > Matthias Apitz writes: > > > > > Hello, > > > > > > I was facing a problem in some Makefile/shell-scripting and finally I > > > could nail it dow

Re: gzip tries to unpack/pack 1st the filename of $GZIP

2010-10-14 Thread Steve Randall
On Thu, 14 Oct 2010 10:36:59 +0200 Matthias Apitz wrote: > > Hello, > > I was facing a problem in some Makefile/shell-scripting and finally I > could nail it down: > > when you set the environment variable GZIP to something, for example to > let it point to gzip itself, it tries 1st to unpack

Re: gzip tries to unpack/pack 1st the filename of $GZIP

2010-10-14 Thread Matthias Apitz
El día Thursday, October 14, 2010 a las 10:39:13AM -0400, Lowell Gilbert escribió: > Matthias Apitz writes: > > > Hello, > > > > I was facing a problem in some Makefile/shell-scripting and finally I > > could nail it down: > > > > when you set the environment variable GZIP to something, for exa

Re: gzip tries to unpack/pack 1st the filename of $GZIP

2010-10-14 Thread Lowell Gilbert
Matthias Apitz writes: > Hello, > > I was facing a problem in some Makefile/shell-scripting and finally I > could nail it down: > > when you set the environment variable GZIP to something, for example to > let it point to gzip itself, it tries 1st to unpack this file: > > $ GZIP=/usr/bin/gzip exp

gzip tries to unpack/pack 1st the filename of $GZIP

2010-10-14 Thread Matthias Apitz
Hello, I was facing a problem in some Makefile/shell-scripting and finally I could nail it down: when you set the environment variable GZIP to something, for example to let it point to gzip itself, it tries 1st to unpack this file: $ GZIP=/usr/bin/gzip export GZIP $ $GZIP -dc source.tar.gz | wc