summaryrefslogtreecommitdiff
path: root/support/download/svn
diff options
context:
space:
mode:
Diffstat (limited to 'support/download/svn')
-rwxr-xr-xsupport/download/svn8
1 files changed, 7 insertions, 1 deletions
diff --git a/support/download/svn b/support/download/svn
index 558bca0fa..4dcdd0623 100755
--- a/support/download/svn
+++ b/support/download/svn
@@ -25,6 +25,12 @@ repo="${2}"
rev="${3}"
basename="${4}"
-${SVN} export ${verbose} "${repo}@${rev}" "${basename}"
+# Caller needs to single-quote its arguments to prevent them from
+# being expanded a second time (in case there are spaces in them)
+_svn() {
+ eval ${SVN} "${@}"
+}
+
+_svn export ${verbose} "'${repo}@${rev}'" "'${basename}'"
tar czf "${output}" "${basename}"