summaryrefslogtreecommitdiff
path: root/zgrep.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-10-20 23:15:26 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-10-20 23:16:05 -0700
commit60b3f4eb672a85de28ecaad47ed426f8c8fe6c32 (patch)
tree37e061073445afdd8c24e54c93615e69371c2bbb /zgrep.in
parent953e93ec52c660d5c3ef91f8ab463aa1be965b38 (diff)
downloadgzip-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.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/zgrep.in b/zgrep.in
index f878acf..aec4a67 100644
--- a/zgrep.in
+++ b/zgrep.in
@@ -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.