diff options
author | Steve Price <steve@FreeBSD.org> | 1998-07-17 20:38:17 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-07-17 20:38:17 +0000 |
commit | 099b65cf8bd554108180df67b7ce2430378f2083 (patch) | |
tree | 25d8df8d18b7f3cf064f9a9378c76f4b82dd1128 /shells/bash/Makefile | |
parent | Update to the latest set of official patches. (diff) |
Guard against a nonexistant /usr/share/info/dir.
PR: 7297
Notes
Notes:
svn path=/head/; revision=11942
Diffstat (limited to 'shells/bash/Makefile')
-rw-r--r-- | shells/bash/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile index 7faba0b72589..67d5c23959b8 100644 --- a/shells/bash/Makefile +++ b/shells/bash/Makefile @@ -3,7 +3,7 @@ # Date created: 21 August 1994 # Whom: jkh # -# $Id: Makefile,v 1.28 1998/04/28 05:09:46 ache Exp $ +# $Id: Makefile,v 1.29 1998/05/16 11:39:19 ache Exp $ # DISTNAME= bash-2.02 @@ -20,7 +20,7 @@ GNU_CONFIGURE= Yes MAN1= bash.1 bashbug.1 pre-install: - if [ ! -s ${PREFIX}/info/dir ]; then \ + if [ ! -s ${PREFIX}/info/dir -a -f /usr/share/info/dir ]; then \ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ fi |