From 59f3a8019dac9b863d241f03c437b62a92bd4436 Mon Sep 17 00:00:00 2001 From: Siddharth Suresh Date: Wed, 24 Jan 2024 14:30:53 -0800 Subject: [PATCH] Use token --- stellar-core/debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stellar-core/debian/rules b/stellar-core/debian/rules index 03eb35a..a3ef76f 100755 --- a/stellar-core/debian/rules +++ b/stellar-core/debian/rules @@ -34,8 +34,13 @@ override_dh_autoreconf: # dh_make generated override targets # This is example for Cmake (See https://bugs.debian.org/641051 ) +# TOKEN should be set by caller if accessing a private repo override_dh_auto_configure: mkdir -p $(HOME) + + echo "https://stellar-jenkins-readonly:$(TOKEN)@github.com" > ~/.git-credentials + git config --global credential.helper store + ./install-rust.sh ./configure $(DEB_CONFIGURE_OPTS) $(DEB_CONFIGURE_OPTS_APPEND)