[PATCH] patches: Show why updating the index failed.
Francois Gouget
fgouget at codeweavers.com
Tue Apr 2 13:10:40 CDT 2019
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
patches/update | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/patches/update b/patches/update
index e45bad90..36f7cca8 100755
--- a/patches/update
+++ b/patches/update
@@ -477,4 +477,5 @@ foreach (keys %subdirs)
!system "rsync", "-q", "-r", "--chmod=+r", "--include=$_*", "--exclude=*", "$dir/", "$dest/data/$_" or die "rsync failed: $?";
}
-rename "$dest/index.html.new", "$dest/index.html" or die "failed to update index.html";
+rename "$dest/index.html.new", "$dest/index.html" or
+ die "failed to update index.html: $!";
--
2.20.1
More information about the wine-devel
mailing list