Match latest git's repo branch message.
authorWayne Davison <wayned@samba.org>
Thu, 31 Jul 2014 21:52:30 +0000 (14:52 -0700)
committerWayne Davison <wayned@samba.org>
Thu, 31 Jul 2014 21:52:30 +0000 (14:52 -0700)
packaging/nightly-rsync

index c33a7da9f28bc489c82b2bf79c94f9e0e0c34042..44e855872e0df66f29339e880ab57bf66f7a5012 100755 (executable)
@@ -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;