[vlc-devel] [PATCH] contribs: gcrypt: Only turn gcrypt into a git repository

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Dec 28 12:10:35 CET 2017


---
 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 537e2b3dd9..9f78f1c613 100644
--- a/contrib/src/gcrypt/rules.mak
+++ b/contrib/src/gcrypt/rules.mak
@@ -69,7 +69,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.11.0



More information about the vlc-devel mailing list