]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Match the latest git "clean" text.
authorWayne Davison <wayned@samba.org>
Tue, 19 Mar 2019 16:35:59 +0000 (09:35 -0700)
committerWayne Davison <wayned@samba.org>
Tue, 19 Mar 2019 16:35:59 +0000 (09:35 -0700)
packaging/nightly-rsync

index 23451ca7506aee36e663d4367dc8ded884d370fe..74891baa78895c24b1d713d930063dc6c9862127 100755 (executable)
@@ -40,7 +40,7 @@ if ($make_tar) {
     open(IN, '-|', 'git status') or die $!;
     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 clean:\n", $status unless $status =~ /\nnothing to commit.+working (directory|tree) clean/;
     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";