Merge pull request #32814 from fahadsadah/patch-1

build-support: clean-up fetchSvn
This commit is contained in:
Orivej Desh 2017-12-24 01:24:56 +00:00 committed by GitHub
commit c4be328f98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -22,11 +22,7 @@ if test -z "$LC_ALL"; then
export LC_ALL="en_US.UTF-8" export LC_ALL="en_US.UTF-8"
fi; fi;
# Pipe the "p" character into Subversion to force it to accept the svn export --trust-server-cert --non-interactive \
# server's certificate. This is perfectly safe: we don't care
# whether the server is being spoofed --- only the cryptographic
# hash of the output matters. Pass in extra p's to handle redirects.
printf 'p\np\np\n' | svn export --trust-server-cert --non-interactive \
${ignoreExternals:+--ignore-externals} ${ignoreKeywords:+--ignore-keywords} \ ${ignoreExternals:+--ignore-externals} ${ignoreKeywords:+--ignore-keywords} \
-r "$rev" "$url" "$out" -r "$rev" "$url" "$out"