diff options
author | Struan Donald <struan@exo.org.uk> | 2012-01-12 14:34:18 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-01-12 14:34:18 +0000 |
commit | 89c7b827c10b44a456cf1a30919050a6839fe2b4 (patch) | |
tree | e6937c5f2a07b56e7660cbde7cedf41163639320 /bin/install_perl_modules | |
parent | 823ad1912fb8c23786bc24fe85bec609469453a5 (diff) |
strip /bin from the end of the path
Diffstat (limited to 'bin/install_perl_modules')
-rwxr-xr-x | bin/install_perl_modules | 2 |
1 files changed, 1 insertions, 1 deletions
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 |