[vlc-devel] [PATCH 2/3] contrib: do not copy the prebuilt contrib on itself if it's the same folder

Steve Lhomme robux4 at ycbcr.xyz
Mon Jun 17 09:26:36 CEST 2019


---
 contrib/src/main.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 4aa9c2c3b8..9b9ebb33c4 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -475,7 +475,7 @@ vlc-contrib-$(HOST)-latest.tar.bz2:
 prebuilt: vlc-contrib-$(HOST)-latest.tar.bz2
 	$(RM) -r $(PREFIX)
 	-$(UNPACK)
-	mv $(HOST) $(TOPDST)
+	mv -n $(HOST) $(TOPDST)
 	cd $(PREFIX) && $(SRC)/change_prefix.sh
 ifdef HAVE_WIN32
 ifndef HAVE_CROSS_COMPILE
-- 
2.17.1



More information about the vlc-devel mailing list