projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4cd2bd1
)
Try to handle a $^X with spaces in it.
Jarkko Hietaniemi [Sun, 11 May 2003 17:46:09 +0000 (17:46 +0000)]
p4raw-id: //depot/perl@19490
t/test.pl
patch
|
blob
|
blame
|
history
diff --git
a/t/test.pl
b/t/test.pl
index
8eefe87
..
1a16fba
100644
(file)
--- 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';