From 89c7b827c10b44a456cf1a30919050a6839fe2b4 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Thu, 12 Jan 2012 14:34:18 +0000 Subject: strip /bin from the end of the path --- bin/install_perl_modules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/install_perl_modules') diff --git a/bin/install_perl_modules b/bin/install_perl_modules index c73050c18..ece7e7bce 100755 --- a/bin/install_perl_modules +++ b/bin/install_perl_modules @@ -1,6 +1,6 @@ #!/bin/bash -DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd | sed -e 's/\/bin$//' )" curl -LO http://xrl.us/cpanm mv cpanm $DIR/bin -- cgit v1.2.3