summaryrefslogtreecommitdiff
path: root/t/test.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-05-11 17:46:09 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-11 17:46:09 +0000
commit44cb023c103cc81b473c5000d0fc536254700a93 (patch)
tree9b80f95e2f82555db093cab1c1580d0ac524671e /t/test.pl
parent4cd2bd1f390724a103e72b993d7f67fb405628ad (diff)
downloadperl-44cb023c103cc81b473c5000d0fc536254700a93.tar.gz
Try to handle a $^X with spaces in it.
p4raw-id: //depot/perl@19490
Diffstat (limited to 't/test.pl')
-rw-r--r--t/test.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test.pl b/t/test.pl
index 8eefe874c8..1a16fba03c 100644
--- a/t/test.pl
+++ b/t/test.pl
@@ -366,7 +366,7 @@ sub _quote_args {
sub _create_runperl { # Create the string to qx in runperl().
my %args = @_;
- my $runperl = $^X;
+ my $runperl = $^X =~ m/\s/ ? qq{"$^X"} : $^X;
unless ($args{nolib}) {
if ($is_macos) {
$runperl .= ' -I::lib';