[vlc-commits] contrib: fix git archive prefix

Rémi Denis-Courmont git at videolan.org
Mon Feb 20 21:48:13 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 20 22:47:22 2017 +0200| [a3db7b19ae18d6edce4cfa4fe0a101802c48c66d] | committer: Rémi Denis-Courmont

contrib: fix git archive prefix

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

 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 6d95f56..2196846 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -329,7 +329,7 @@ download_git = \
 	$(GIT) remote add origin "$(1)" && \
 	$(GIT) fetch origin "$(2)") && \
 	(cd "$(@:.tar.xz=)" && \
-	$(GIT) archive --prefix="$(notdir $(@:.tar.xz=))" \
+	$(GIT) archive --prefix="$(notdir $(@:.tar.xz=))/" \
 		--format=tar "$(3)") > "$(@:.xz=)" && \
 	echo "$(3) $(@)" > "$(@:.tar.xz=.githash)" && \
 	rm -Rf -- "$(@:.tar.xz)" && \



More information about the vlc-commits mailing list