Skip to content

Commit

Permalink
Bugfixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphoting committed Jun 13, 2012
1 parent 2a805d5 commit c19680a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions support/ec2-build-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export NEWRELIC_VERSION="2.9.5.78"
orig_dir=$( pwd )

echo "+ Using S3 update sources..."
sed -i 's/us-east-1.ec2.archive.ubuntu.com/us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/g' /etc/apt/sources.list
sed -i 's/us-east-1.ec2.archive.ubuntu.com\//us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com\//g' /etc/apt/sources.list

echo "+ Updating apt-get sources..."
apt-get -y update
Expand Down Expand Up @@ -51,7 +51,7 @@ export PATH=/usr/lib/ccache:$PATH
echo "+ Fetching compiler cache..."
curl -f -L "https://s3.amazonaws.com/${S3_BUCKET}/ccache.tar.bz2" -o - | tar xj

mkdir build && pushd build
mkdir -p build && pushd build

echo "+ Fetching libmcrypt libraries..."
# install mcrypt for portability.
Expand Down Expand Up @@ -170,6 +170,8 @@ pushd /app/vendor/php
tar czf $orig_dir/php-${PHP_VERSION}-with-fpm-heroku.tar.gz *
popd

popd

echo "+ Binaries are packaged in $orig_dir/*.tar.gz. Upload to s3 bucket of your choice."

tar cjf ccache.tar.bz2 .ccache/
Expand Down

0 comments on commit c19680a

Please sign in to comment.