summaryrefslogtreecommitdiff
path: root/zless.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-04-04 10:51:24 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-04-04 12:00:44 -0700
commit31193bbd13cd2807d8ccaa2ba5b072303d5425e7 (patch)
treec253dff5d25bab13efefecbe4fe622e9b08de85c /zless.in
parenta1b65e3de9e1b74f75c07f0513befa250e66268a (diff)
downloadgzip-31193bbd13cd2807d8ccaa2ba5b072303d5425e7.tar.gz
build: support --program-prefix etc.
Problem reported by Antonio Diaz Diaz via Dagobert Michelsen in: https://bugs.gnu.org/16876 * Makefile.am (.in): Substitute for 'gzip', 'zdiff', 'zgrep'. ($(GZIP_TRANSFORMED), $(ZDIFF_TRANSFORMED), $(ZGREP_TRANSFORMED)): New rules to build forwarding shell scripts, if needed. Add these files to BUILT_SOURCES and MOSTLY_CLEANFILES if needed. * configure.ac (GZIP_TRANSFORMED, ZDIFF_TRANSFORMED, ZGREP_TRANSFORMED): New substituted vars. (GZIP_IS_TRANSFORMED, ZDIFF_IS_TRANSFORMED, ZGREP_IS_TRANSFORMED): New Automake conditions. * gunzip.in, gzexe.in, zcat.in, zcmp.in, zdiff.in, zegrep.in: * zfgrep.in, zforce.in, zgrep.in, zless.in, zmore.in, znew.in: Quote possibly-transformed subcommand names.
Diffstat (limited to 'zless.in')
-rw-r--r--zless.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/zless.in b/zless.in
index e77e6b9..4638e94 100644
--- a/zless.in
+++ b/zless.in
@@ -65,7 +65,7 @@ less' '[1-9][0-9][0-9][0-9]*)
*) use_input_pipe_on_stdin='';;
esac
-LESSOPEN="|$check_exit_status${use_input_pipe_on_stdin}gzip -cdfq -- %s"
+LESSOPEN="|$check_exit_status${use_input_pipe_on_stdin}'gzip' -cdfq -- %s"
export LESSOPEN
exec less "$@"