about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
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 a47972a..b176ff7 100755
--- a/scripts/capsule.sh
+++ b/scripts/capsule.sh
@@ -49,7 +49,6 @@ function jitterbug_build () {
     fi
 }
 
-
 echo "Creating report_path=$report_path"
 mkdir -p $report_path
 
@@ -62,6 +61,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
@@ -71,5 +73,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