Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 2010 16:48:57 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gzip tries to unpack/pack 1st the filename of $GZIP
Message-ID:  <20101014144857.GA5236@current.Sisis.de>
In-Reply-To: <44bp6walf2.fsf@be-well.ilk.org>
References:  <20101014083659.GA3150@current.Sisis.de> <44bp6walf2.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Thursday, October 14, 2010 a las 10:39:13AM -0400, Lowell Gilbert escribió:

> Matthias Apitz <guru@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@unixarea.de> - w http://www.unixarea.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101014144857.GA5236>