about summary refs log tree commit diff
path: root/scripts/capsule.sh
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-02-23 00:15:10 +0000
committerJonathan "Duke" Leto <jonathan@leto.net>2011-02-23 00:15:10 +0000
commit3dc954db25b482074bb8abff5aaa51de002d3b5d (patch)
tree70c24c7b636a5c651746775462e1cf0c94494d57 /scripts/capsule.sh
parentCreate a new repo for the first time, even if reuse_repo is true (diff)
downloadjitterbug-3dc954db25b482074bb8abff5aaa51de002d3b5d.tar.gz
Make reusing git repos actually work
This code is not pretty, but it works. Currently, Git::Repository
is eschewed because it was giving odd errors.
Diffstat (limited to '')
-rwxr-xr-xscripts/capsule.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/capsule.sh b/scripts/capsule.sh
index 30c3877..9fca79e 100755
--- a/scripts/capsule.sh
+++ b/scripts/capsule.sh
@@ -20,6 +20,8 @@ function jitterbug_build () {
         perl Build.PL >> $logfile 2>&1
         # ./Build installdeps is not available in older Module::Build's
         cpanm --installdeps . >> $logfile 2>&1
+        # Run this again in case our Build is out of date (suboptimal)
+        perl Build.PL >> $logfile 2>&1
         HARNESS_VERBOSE=1 ./Build test --verbose >> $logfile 2>&1
     elif [ -f 'Makefile.PL' ]; then
         echo "Found Makefile.PL"