[vlc-commits] contrib: support using a specific commit tag in download_git
Rafaël Carré
git at videolan.org
Thu Nov 24 23:10:09 CET 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | 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=))) > $@ && \
More information about the vlc-commits
mailing list