about summary refs log tree commit diff
path: root/scripts/capsule.sh
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-01-07 15:56:43 -0800
committerJonathan "Duke" Leto <jonathan@leto.net>2011-01-07 15:56:43 -0800
commitbc4321b255b4cd266860185f720a72af00631003 (patch)
treeb4303615ba4e693274fd286d913be7020e82155a /scripts/capsule.sh
parentDie early if the config file does not exist and add some tests (diff)
downloadjitterbug-bc4321b255b4cd266860185f720a72af00631003.tar.gz
Use cpanm --installdeps . for Module::Build projects
Diffstat (limited to '')
-rwxr-xr-xscripts/capsule.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/capsule.sh b/scripts/capsule.sh
index 4d1b097..7411639 100755
--- a/scripts/capsule.sh
+++ b/scripts/capsule.sh
@@ -32,7 +32,8 @@ do
     elif [ -f 'Build.PL' ]; then
         echo "Found Build.PL, using Build.PL"
         perl Build.PL
-        ./Build installdeps
+        # ./Build installdeps is not available in older Module::Build's
+        cpanm --installdeps .
         HARNESS_VERBOSE=1 ./Build test --verbose >> $logfile 2>&1
     else
         echo "Hoping to find Makefile.PL"