aboutsummaryrefslogtreecommitdiffstats
path: root/bin/install_perl_modules
diff options
context:
space:
mode:
Diffstat (limited to 'bin/install_perl_modules')
-rwxr-xr-xbin/install_perl_modules4
1 files changed, 2 insertions, 2 deletions
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