From c660648c62e8bc348f7ca086b0141a1e58ef5f55 Mon Sep 17 00:00:00 2001 From: Tom Maher Date: Sun, 25 Mar 2012 22:54:18 -0700 Subject: [PATCH] up to the new version --- bin/compile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bin/compile b/bin/compile index 9c0dbf6f2..fe81447b9 100755 --- a/bin/compile +++ b/bin/compile @@ -5,9 +5,9 @@ set -e # config -APACHE_VERSION="2.2.19" +APACHE_VERSION="2.2.22" APACHE_PATH="apache" -PHP_VERSION="5.3.6" +PHP_VERSION="5.3.10" PHP_PATH="php" BIN_DIR=$(dirname $0) @@ -20,8 +20,6 @@ shopt -s dotglob cd $BUILD_DIR -echo "-----> OMG BABY" - # move app things to www mkdir -p $CACHE_DIR/www mv * $CACHE_DIR/www @@ -41,14 +39,14 @@ for DIR in $APACHE_PATH $PHP_PATH ; do done # install apache if needed -if [ ! -d $APACHE_PATH ]; then +if [ ! -d $APACHE_PATH ] || [ `cat ${APACHE_PATH}/VERSION` != $APACHE_VERSION ]; then APACHE_URL="https://s3.amazonaws.com/php-lp-tmaher/apache-$APACHE_VERSION.tar.gz" echo "-----> Bundling Apacheeee version $APACHE_VERSION" curl --silent --max-time 60 --location $APACHE_URL | tar xz fi # install php if needed -if [ ! -d $PHP_PATH ]; then +if [ ! -d $PHP_PATH ] || [ `cat ${PHP_PATH}/VERSION` != $PHP_VERSION ]; then PHP_URL="https://s3.amazonaws.com/php-lp-tmaher/php-$PHP_VERSION.tar.gz" echo "-----> Bundling PHP version $PHP_VERSION" curl --silent --max-time 60 --location $PHP_URL | tar xz