summaryrefslogtreecommitdiff
path: root/regen.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-09-28 16:50:26 +0100
committerNicholas Clark <nick@ccl4.org>2010-09-28 16:50:26 +0100
commit3879ea51d63e30f393172fcd711bc89f88997019 (patch)
tree53e01b81dbbff025a2182461c86ac0dc443aa37e /regen.pl
parentbd6920d7fd435edce8cd45d53f46b2a0ca0f5663 (diff)
downloadperl-3879ea51d63e30f393172fcd711bc89f88997019.tar.gz
A test to check that regen.pl doesn't need running.
We can't run regen.pl as part of the build, as we'd end up with a circular dependency between the headers and miniperl.
Diffstat (limited to 'regen.pl')
-rw-r--r--regen.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/regen.pl b/regen.pl
index f97a618405..f103b0abcf 100644
--- a/regen.pl
+++ b/regen.pl
@@ -26,8 +26,9 @@ warnings.pl
embed.pl
);
+my $tap = $ARGV[0] && $ARGV[0] eq '--tap' ? '# ' : '';
foreach my $pl (@scripts) {
my @command = ($^X, $pl, @ARGV);
- print "@command\n";
+ print "$tap@command\n";
system @command;
}