From ad477b08593bbffee7d9d8a64a18f98105735a3e Mon Sep 17 00:00:00 2001 From: Sam Voss Date: Fri, 17 Nov 2017 12:50:34 -0600 Subject: support/download: svn non-interactive in BR2_SVN 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" Acked-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- Config.in | 2 +- support/download/svn | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Config.in b/Config.in index 8920b727ce..75e5604831 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 9f27d71f86..77abf3d02d 100755 --- a/support/download/svn +++ b/support/download/svn @@ -33,6 +33,6 @@ _svn() { eval ${SVN} "${@}" } -_svn --non-interactive export ${verbose} "${@}" "'${repo}@${rev}'" "'${basename}'" +_svn export ${verbose} "${@}" "'${repo}@${rev}'" "'${basename}'" tar czf "${output}" "${basename}" -- cgit v1.2.3