[vlc-commits] skins2: do not generate (broken) default.vlt on error
Rémi Denis-Courmont
git at videolan.org
Fri Oct 21 15:15:51 CEST 2016
vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Oct 21 16:08:25 2016 +0300| [953263bf5839054b162fe114db6b132521747bf7] | committer: Rémi Denis-Courmont
skins2: do not generate (broken) default.vlt on error
(cherry picked from commit 096c3544b55a88ca07ece9a5624671484e362945)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=953263bf5839054b162fe114db6b132521747bf7
---
share/Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/share/Makefile.am b/share/Makefile.am
index a24d729..b08b3e8 100644
--- a/share/Makefile.am
+++ b/share/Makefile.am
@@ -77,10 +77,12 @@ skins2_default_vlt_FILES = \
skins2/default.vlt: $(skins2_default_vlt_FILES)
$(AM_V_at)mkdir -p skins2
+ $(AM_V_at)rm -f -- skins2/default.vlt.tmp
$(AM_V_GEN)GZIP=--no-name \
- tar cvvzf skins2/default.vlt \
+ tar cvvzf skins2/default.vlt.tmp \
--owner=root --group=root --directory="$(srcdir)/skins2" \
default/
+ $(AM_V_at)mv -f -- skins2/default.vlt.tmp skins2/default.vlt
#
# LUA
More information about the vlc-commits
mailing list