vlc | branch: master | Rafaël Carré <[email protected]> | Thu Nov 24 17:08:20 
2011 -0500| [04e929175191c8086fd5cd7264a4bdd3e9a8badd] | committer: Rafaël Carré

contrib: support using a specific commit tag in download_git

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

 contrib/src/main.mak |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index f4dbd5a..47a55b2 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -208,6 +208,7 @@ HOSTVARS_PIC := $(HOSTTOOLS) \
 download_git = \
        rm -Rf $(@:.tar.xz=) && \
        $(GIT) clone $(2:%=--branch %) $(1) $(@:.tar.xz=) && \
+       (cd $(@:.tar.xz=) && $(GIT) checkout $(3:%= %)) && \
        rm -Rf $(@:%.tar.xz=%)/.git && \
        (cd $(dir $@) && \
         tar cvJ $(notdir $(@:.tar.xz=))) > $@ && \

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

Reply via email to