From 9bcba2015ea940ad054d946a379978edd2f2c7bd Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 30 May 2002 05:54:55 +0000 Subject: [PATCH] (install-info-am, uninstall-info-am): fgrep -> grep --- lib/am/texinfos.am | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/am/texinfos.am b/lib/am/texinfos.am index 0904df76e..4bbdf307c 100644 --- a/lib/am/texinfos.am +++ b/lib/am/texinfos.am @@ -1,5 +1,6 @@ ## automake - create Makefile.in from Makefile.am -## Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 + +## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 ## Free Software Foundation, Inc. ## This program is free software; you can redistribute it and/or modify @@ -127,11 +128,11 @@ install-info-am: $(INFO_DEPS) ## prints version info to stderr. ## ## Do not use -## install-info --version 2>&1 | sed 1q | fgrep -s -v -i debian -## as if install-info does not exist, fgrep -v will be happy, and +## install-info --version 2>&1 | sed 1q | grep -s -v -i debian +## as if install-info does not exist, grep -v will be happy, and ## therefore the code will be triggered although install-info is missing. @if (install-info --version && \ - install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \ + install-info --version | grep -i -v debian) >/dev/null 2>&1; then \ list='$(INFO_DEPS)'; \ for file in $$list; do \ ## Run `:' after install-info in case install-info fails. We really @@ -167,7 +168,7 @@ uninstall-info-am: ## NORMAL_UNINSTALL correctly. Debian install-info v1.8.3 prints ## version info to stderr. @if (install-info --version && \ - install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \ + install-info --version | grep -i -v debian) >/dev/null 2>&1; then \ list='$(INFO_DEPS)'; \ for file in $$list; do \ ## install-info needs the actual info file. We use the installed one, -- 2.11.4.GIT