[vlc-commits] NPAPI: call git submodule when cloning

Jean-Baptiste Kempf git at videolan.org
Mon Apr 27 15:16:09 CEST 2015


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Apr 21 11:16:12 2015 +0200| [4d36ec4832227c384c3fa50fed431189a8b87080] | committer: Jean-Baptiste Kempf

NPAPI: call git submodule when cloning

(cherry picked from commit 98ec9654ec890b7decf9472cade61c82f489aa9e)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 extras/package/npapi.am |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/extras/package/npapi.am b/extras/package/npapi.am
index e778f7d..31b9e89 100644
--- a/extras/package/npapi.am
+++ b/extras/package/npapi.am
@@ -9,8 +9,10 @@ fetch-npapi:
 		cd npapi-vlc && \
 		git fetch origin && \
 		git reset --hard origin/master; \
+		git submodule update; \
 	else \
 		git clone git://git.videolan.org/npapi-vlc.git npapi-vlc ; \
+		git submodule update --init; \
 	fi
 	git --git-dir=npapi-vlc/.git describe --long --always > stamp-npapi.tmp
 	if diff stamp-npapi.tmp stamp-npapi >/dev/null 2>&1; then \



More information about the vlc-commits mailing list