summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-24 19:02:52 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-24 19:02:52 +0100
commitebbb719ba6d72169043d2d8e55e6c70c19f8a47c (patch)
tree6f189d7d27f1d479337a155037467d57f18146d4 /make_ext.pl
parent7c40aa71c55530661091304bfd36d642ff33d9b6 (diff)
downloadperl-ebbb719ba6d72169043d2d8e55e6c70c19f8a47c.tar.gz
Fix a22f28a4268aa03c - array, not array reference. (gnat would be proud)
Just because it's syntactically valid and "works on my machine", er OS, doesn't mean that it's bug free, even after careful inspection.
Diffstat (limited to 'make_ext.pl')
-rw-r--r--make_ext.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_ext.pl b/make_ext.pl
index 0fe892f7f9..e606c36604 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -116,7 +116,7 @@ foreach (@extspec) {
my $makecmd = shift @pass_through; # Should be something like MAKE=make
unshift @pass_through, 'PERL_CORE=1';
-my @dirs = $opts{dir} || ['ext', 'cpan'];
+my @dirs = @{$opts{dir} || ['ext', 'cpan']};
my $target = $opts{target}[0];
$target = 'all' unless defined $target;