about summary refs log tree commit diff
path: root/scripts/capsule.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/capsule.sh')
-rwxr-xr-xscripts/capsule.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/capsule.sh b/scripts/capsule.sh
index 818dcf4..c91d50a 100755
--- a/scripts/capsule.sh
+++ b/scripts/capsule.sh
@@ -38,7 +38,7 @@ if [ $use_perlbrew ]; then
     source $HOME/perl5/perlbrew/etc/bashrc
     for perl in $HOME/perl5/perlbrew/perls/perl-5.*
     do
-        theperl="$(perl -e \"print $]\")"
+        theperl=$(perl -e 'print $^V')
         logfile="$report_path/perl-$theperl.txt"
 
         echo ">perlbrew switch $theperl"
@@ -48,7 +48,7 @@ if [ $use_perlbrew ]; then
         jitterbug_build
     done
 else
-        theperl="$(perl -e \"print $]\")"
+        theperl=$(perl -e 'print $^V')
         logfile="$report_path/perl-$theperl.txt"
         jitterbug_build
 fi