summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2016-04-23 11:48:05 +0100
committerAaron Crane <arc@cpan.org>2016-04-23 11:48:05 +0100
commit6eb0900c6559e23d6409f4434dffdba33b9ecdd8 (patch)
tree6c25e8d016c68320bb73136b22975f5b181fe28d
parentf8528237b61e7b2bb4b5b5837391a550d4135511 (diff)
Fix incorrect invocation of Perl system builtin
It doesn't default to $_, but this code apparently assumes it does. This doesn't seem to actually affect anything, because all the units I've encountered have only the "pick" pseudo-command in the actions of their "?MAKE:" sections. But I think it's worth fixing nonetheless.
-rw-r--r--mcon/pl/order.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcon/pl/order.pl b/mcon/pl/order.pl
index e6ef35a..1616beb 100644
--- a/mcon/pl/order.pl
+++ b/mcon/pl/order.pl
@@ -33,7 +33,7 @@ sub solve_dependencies {
# Ignore conditional symbol request
} else {
chop;
- system;
+ system $_;
}
}
chdir($WD) || die "Can't chdir to $WD: $!.\n";