Match latest git's repo branch message.

This commit is contained in:
Wayne Davison
2014-07-31 14:52:30 -07:00
parent 6fe798392b
commit f438d5abe0

View File

@@ -40,7 +40,7 @@ if ($make_tar) {
my $status = join('', <IN>);
close IN;
die "The checkout is not clean:\n", $status unless $status =~ /\nnothing to commit.+working directory clean/;
die "The checkout is not on the master branch.\n" unless $status =~ /^# On branch master\n/;
die "The checkout is not on the master branch.\n" unless $status =~ /^(?:# )?On branch master\n/;
system "make $gen_target" and die "make $gen_target failed!\n";
my @extra_files;