From fb77c3da23244ac3c20648c4a6d4556c2c9c34ba Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 15 Jan 2003 16:34:53 +0000 Subject: [PATCH] * bootstrap: don't check /etc/redhat-release if it doesn't exist (which is the case on all non Red Hat Linux systems) --- citadel/ChangeLog | 5 ++++- citadel/bootstrap | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 962c54bf8..6fccc8d09 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,8 @@ $Log$ + Revision 601.110 2003/01/15 16:34:53 ajc + * bootstrap: don't check /etc/redhat-release if it doesn't exist (which is + the case on all non Red Hat Linux systems) + Revision 601.109 2003/01/15 05:57:09 ajc * First cut at static-linking the citserver. Ripped out libtool and replaced the dynloader paradigm with "server extensions" paradigm (static @@ -4377,4 +4381,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import - diff --git a/citadel/bootstrap b/citadel/bootstrap index c6910888f..998f9be70 100755 --- a/citadel/bootstrap +++ b/citadel/bootstrap @@ -6,7 +6,11 @@ # # Goofy red hat 7.3 stuff -[ `cut -f 5 -d ' ' /etc/redhat-release` = 7.3 ] && redhat73=true +if [ -s /etc/redhat-release ] ; then + [ `cut -f 5 -d ' ' /etc/redhat-release` = 7.3 ] && redhat73=true +else + redhat73=false +fi if [ "$redhat73" = "true" ]; then aclocal=/usr/bin/aclocal-1.5 autoconf=/usr/bin/autoconf-2.53 -- 2.39.2