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 <sam.voss@rockwellcollins.com>

[Originally implemented by]
CC: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Sam Voss 2017-11-17 12:50:34 -06:00 committed by Thomas Petazzoni
parent f79cc7dc15
commit ad477b0859
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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}"