diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-09-03 18:03:58 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-09-04 06:24:45 -0700 |
commit | c507dbefe9048aca52386027976607a549391513 (patch) | |
tree | f9563967e5f2ee016648a71cdb45cec68ed059b4 /bin | |
parent | 7d8364ceccadab792f92719e996c7a154840d91d (diff) |
Bundle carton.
This was generated using 'carton fatpack' as follows:
bin/cpanm -L local-carton --with-recommends Carton
export PERL5LIB=<absolute path to local-carton>/lib/perl5/
local-carton/bin/carton fatpack
(It needs to be an absolute path in order to locate the meta files.)
This was done on a Debian squeeze box to make sure any too-old core
modules were updated and included in the bundle.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/install_perl_modules | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/bin/install_perl_modules b/bin/install_perl_modules index 409fd054e..3e43b5bb7 100755 --- a/bin/install_perl_modules +++ b/bin/install_perl_modules @@ -4,18 +4,13 @@ set -e DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd | sed -e 's/\/bin$//' )" -$DIR/bin/cpanm -l $DIR/local-carton Carton - -export PATH=$DIR/local-carton/bin:$PATH -export PERL5LIB=$DIR/local-carton/lib/perl5 - -carton install --deployment --without uk --without zurich --without open311-endpoint +$DIR/vendor/bin/carton install --deployment --without uk --without zurich --without open311-endpoint if ! perl -MImage::Magick -e 'exit()' >/dev/null 2>&1 then read -p "Image::Magick is not installed. Do you want to attempt to install it?" yn case $yn in - [Yy]* ) $DIR/local-carton/bin/carton install Image::Magick;; + [Yy]* ) $DIR/vendor/bin/carton install Image::Magick;; * ) echo 'You will need to install it for FixMyStreet to work';; esac fi |