Permalink
Browse files

Include gcc for compile git by default and minor fix on usage function

  • Loading branch information...
1 parent 6136b2b commit 0635eaa2cf330366d8c38e0f6198f85d79618b0f Ángel Guzmán Maeso committed Mar 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 make-docs.sh
View
@@ -43,7 +43,7 @@ HYPERVM_DOC_PATH='./doc'
DOCBLOX_CONFIGURATION_FILE='docblox.dist.xml'
usage(){
- echo 'Usage: $0 [-h]'
+ echo "'Usage: $0 [-h]"
echo 'h: shows this help.'
exit 1
}
@@ -53,11 +53,11 @@ install_GIT()
# Redhat based
if [ -f /etc/redhat-release ] ; then
# Install git with curl and expat support to enable support on github cloning
- yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel
+ yum install -y gcc gettext-devel expat-devel curl-devel zlib-devel openssl-devel
# Debian based
elif [ -f /etc/debian_version ] ; then
# Needed XSLTProcessor
- apt-get install php5 php5-xsl
+ apt-get install gcc php5 php5-xsl
fi
# @todo Try to get the lastest version from some site. LASTEST file?

0 comments on commit 0635eaa

Please sign in to comment.