vlc | branch: master | Steve Lhomme <[email protected]> | Mon Jun 17 09:08:11 
2019 +0200| [c531811ae275150a9396a2e8cf118aea2a3752ad] | committer: Steve Lhomme

contrib: do not copy the prebuilt contrib on itself if it's the same folder

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c531811ae275150a9396a2e8cf118aea2a3752ad
---

 contrib/src/main.mak | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 4aa9c2c3b8..f7491aa2cc 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -475,7 +475,9 @@ vlc-contrib-$(HOST)-latest.tar.bz2:
 prebuilt: vlc-contrib-$(HOST)-latest.tar.bz2
        $(RM) -r $(PREFIX)
        -$(UNPACK)
-       mv $(HOST) $(TOPDST)
+       if test "$(TOPDST)" != "."; then \
+               mv $(HOST) $(TOPDST); \
+       fi;
        cd $(PREFIX) && $(SRC)/change_prefix.sh
 ifdef HAVE_WIN32
 ifndef HAVE_CROSS_COMPILE

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to