diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-10-20 23:15:26 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-10-20 23:16:05 -0700 |
commit | 60b3f4eb672a85de28ecaad47ed426f8c8fe6c32 (patch) | |
tree | 37e061073445afdd8c24e54c93615e69371c2bbb /zgrep.in | |
parent | 953e93ec52c660d5c3ef91f8ab463aa1be965b38 (diff) | |
download | gzip-60b3f4eb672a85de28ecaad47ed426f8c8fe6c32.tar.gz |
zgrep: do not assume standard 'grep' has -e
On Solaris 11, /usr/bin/grep -e does not work.
Problem reported by Petr Sumbera in
<http://lists.gnu.org/archive/html/bug-gzip/2012-10/msg00003.html>.
* Makefile.am (.in): Substitute @GREP@.
* configure.ac (AC_PROG_GREP): Invoke.
* zgrep.in (grep): Use @GREP@.
Diffstat (limited to 'zgrep.in')
-rw-r--r-- | zgrep.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ case $1 in esac PATH=$bindir:$PATH -grep='${GREP-grep}' +grep='${GREP-'\''@GREP@'\''}' version='zgrep (gzip) @VERSION@ Copyright (C) 2010-2012 Free Software Foundation, Inc. |