about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-05-22 23:01:33 -0700
committerJonathan "Duke" Leto <jonathan@leto.net>2011-05-22 23:01:33 -0700
commitf4127b1235b585b5d82082fcfd820b68479ceba4 (patch)
tree32042a41db19953f03797d46de59f0d6d4d13f7c /scripts
parentUpdate index route tests to be less fragile, since we now have tests that cre... (diff)
downloadjitterbug-f4127b1235b585b5d82082fcfd820b68479ceba4.tar.gz
Add a test to verify we get the expected sha1
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/capsule.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/capsule.sh b/scripts/capsule.sh
index 9fca79e..e6a5036 100755
--- a/scripts/capsule.sh
+++ b/scripts/capsule.sh
@@ -47,7 +47,6 @@ function jitterbug_build () {
     fi
 }
 
-
 echo "Creating report_path=$report_path"
 mkdir -p $report_path
 
@@ -60,6 +59,9 @@ if [ $use_perlbrew ]; then
         theperl=$(perl -e 'print $^V')
         logfile="$report_path/perl-$theperl.txt"
 
+        mkdir -p $report_path
+        touch $logfile
+
         echo ">perlbrew switch $theperl"
         perlbrew switch $theperl
         # TODO: check error condition
@@ -69,5 +71,9 @@ if [ $use_perlbrew ]; then
 else
         theperl=$(perl -e 'print $^V')
         logfile="$report_path/perl-$theperl.txt"
+
+        mkdir -p $report_path
+        touch $logfile
+
         jitterbug_build
 fi