From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Sat, 25 Nov 2017 16:11:49 +0100 Subject: [Buildroot] [PATCH 1/1] support/download: svn non-interactive in BR2_SVN In-Reply-To: <1510944634-3374-1-git-send-email-sam.voss@rockwellcollins.com> References: <1510944634-3374-1-git-send-email-sam.voss@rockwellcollins.com> Message-ID: <20171125151149.GD2798@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Sam, All, On 2017-11-17 12:50 -0600, Sam Voss spake thusly: > Instead of overriding the _svn command and injecting --non-interactive, > change the default value of BR2_SVN to include this flag so the end user > can choose not to use the flag. > > This change helps users behind corporate system rules which may not > allow them to locally cache credentials and require interactive mode. > > Signed-off-by: Sam Voss > > [Originally implemented by] > CC: "Yann E. MORIN" Thomas, since this is my code: ;-) Acked-by: "Yann E. MORIN" Regards, Yann E. MORIN. > --- > Config.in | 2 +- > support/download/svn | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Config.in b/Config.in > index 90f793a..d192995 100644 > --- a/Config.in > +++ b/Config.in > @@ -106,7 +106,7 @@ config BR2_WGET > > config BR2_SVN > string "Subversion (svn) command" > - default "svn" > + default "svn --non-interactive" > > config BR2_BZR > string "Bazaar (bzr) command" > diff --git a/support/download/svn b/support/download/svn > index ee799f4..ad84a39 100755 > --- a/support/download/svn > +++ b/support/download/svn > @@ -33,7 +33,7 @@ _svn() { > eval ${SVN} "${@}" > } > > -_svn --non-interactive export ${verbose} "${@}" "'${repo}@${rev}'" "'${basename}'" > +_svn export ${verbose} "${@}" "'${repo}@${rev}'" "'${basename}'" > > # If this is a HEAD revision, export the exact version > # that was checked out. > -- > 1.9.1 > -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'