svn checkout via shell script

Very often development servers only have self-signed certificate for ssl connection. I've recently had to create a script that would checkout from a https svn repository that would fail with "Server certificate verification failed: issuer is not trusted..." . Below is a workaround used to temporarily trust the certificate.

svn --username $SVN_USER --password $SVN_PASS --no-auth-cache checkout ${REPO_URL}/${REPO_PATH} $REPO_PATH <<EOF 2>/dev/null
t
EOF

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
temporarily trust certificate

Temporarily trust the certificate on prompt.

meaning of char 't' in between

can you explain why do you have 't' before EOF?

Comment