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

Matthias Apitz guru at unixarea.de
Thu Oct 14 14:49:00 UTC 2010


El día Thursday, October 14, 2010 a las 10:39:13AM -0400, Lowell Gilbert escribió:

> Matthias Apitz <guru at unixarea.de> 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:
> >
	...

This was my fault. I overlooked it in the man page. SOrry;

> You need to fix the syntax on your 'export' lines.
> Adding a semicolon before the "export" keyword (or
> moving it to the next line) is the smallest change 
> to do this.

Why?

$ FIX=foo export FIX
$ env | fgrep FIX
FIX=foo

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at unixarea.de> - w http://www.unixarea.de/


More information about the freebsd-questions mailing list