From 0485616398282c41cac9b3c96d99a752b1839f1f Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 19 Jul 2012 19:53:47 +0100 Subject: Remove relative paths from install_perl_modules. Fixes #305. --- bin/install_perl_modules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/install_perl_modules') diff --git a/bin/install_perl_modules b/bin/install_perl_modules index 0563baf96..2df4ffbf8 100755 --- a/bin/install_perl_modules +++ b/bin/install_perl_modules @@ -2,7 +2,7 @@ DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd | sed -e 's/\/bin$//' )" -$DIR/bin/cpanm -l local Carton +$DIR/bin/cpanm -l $DIR/local Carton export PATH=$DIR/local/bin:$PATH export PERL5LIB=$DIR/local/lib/perl5 @@ -17,7 +17,7 @@ if [ $HAVE_IM -ne 0 ] then read -p "Image::Magick is not installed. Do you want to attempt to install it?" yn case $yn in - [Yy]* ) ./local/bin/carton install Image::Magick;; + [Yy]* ) $DIR/local/bin/carton install Image::Magick;; * ) echo 'You will need to install it for FixMyStreet to work';; esac fi -- cgit v1.2.3