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-09 01:26:56 -0800
committerJonathan "Duke" Leto <jonathan@leto.net>2011-01-09 01:26:56 -0800
commit87e5699a92b74e4b5ea53ed990a776e322c56a90 (patch)
tree7df3291cdbb6766dafea2421f99ec1d7316c56da /scripts/capsule.sh
parentAttempt grab perl version correctly (diff)
downloadjitterbug-87e5699a92b74e4b5ea53ed990a776e322c56a90.tar.gz
Use a stringified version object, because it is prettier
Diffstat (limited to '')
-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