[vlc-devel] [PATCH 3.0 03/16] contribs: gcrypt: Only turn gcrypt into a git repository

Martin Storsjö martin at martin.st
Fri Jun 19 23:26:54 CEST 2020


From: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

(cherry picked from commit 09084b506f65952e11716c6965ad9c252dbd9eca)

Signed-off-by: Martin Storsjö <martin at martin.st>
---
 contrib/src/gcrypt/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/gcrypt/rules.mak b/contrib/src/gcrypt/rules.mak
index aa9fbf0a4c..cca7f62784 100644
--- a/contrib/src/gcrypt/rules.mak
+++ b/contrib/src/gcrypt/rules.mak
@@ -76,7 +76,7 @@ endif
 .gcrypt: gcrypt
 	# Reconfiguring this requires a git repo to be available, to
 	# successfully produce a nonempty mym4_revision_dec.
-	git init && git config --local user.email "cone at example.com" && git config --local user.name "Cony Cone" && \
+	cd $< && git init && git config --local user.email "cone at example.com" && git config --local user.name "Cony Cone" && \
 		git commit --allow-empty -m "dummy commit"
 	$(RECONF)
 	cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) $(GCRYPT_EXTRA_CFLAGS)" ./configure $(HOSTCONF) $(GCRYPT_CONF)
-- 
2.17.1



More information about the vlc-devel mailing list