]> code.citadel.org Git - citadel.git/blobdiff - citadel/bootstrap
* bootstrap: don't check /etc/redhat-release if it doesn't exist (which is
[citadel.git] / citadel / bootstrap
index c6910888fbd1de7d740bb5e7359e9e398f70dd5b..998f9be708f190befd74097503cd9eb9f0263bc8 100755 (executable)
@@ -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