diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2007-05-04 19:53:25 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2007-05-04 19:53:25 +0000 |
commit | 4858351c63f69ea0563bda954c55b875c0c7e7be (patch) | |
tree | b89ac3b1e8e85f41111ca7ea6dc6d95eb7285334 /zforce.in | |
parent | 79c3261c8b9d2ce4cddb488bdee4b087c2e22ee8 (diff) | |
download | gzip-4858351c63f69ea0563bda954c55b875c0c7e7be.tar.gz |
* Makefile.am (.in): Substitute @bindir@, not BINDIR, for
consistency with other substitutions.
(check-local): Use --__bindir . rather than setting GZIP_BINDIR=.,
to allay security concerns voiced by Joerg Lehners in
<http://lists.gnu.org/archive/html/bug-gzip/2007-04/msg00003.html>.
* gunzip.in, gzexe.in, zcat.in, zcmp.in, zdiff.in, zegrep.in, zfgrep.in:
* zforce.in, zgrep.in, zless.in, zmore.in, znew.in:
Support --__bindir rather than GZIP_BINDIR.
* gunzip.in, zcat.in, zcmp.in: Support --help and --version
directly, to avoid some confusion in help and version output.
Problem reported by Eric Blake in
<http://lists.gnu.org/archive/html/bug-gzip/2007-04/msg00006.html>.
Diffstat (limited to 'zforce.in')
-rw-r--r-- | zforce.in | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -23,7 +23,11 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -PATH="BINDIR:$PATH"; export PATH +bindir=@bindir@ +case $1 in +--__bindir) bindir=${2?}; shift; shift;; +esac +PATH=$bindir:$PATH; export PATH version="zforce (gzip) @VERSION@ Copyright (C) 2007 Free Software Foundation, Inc. |