aboutsummaryrefslogtreecommitdiff
path: root/ebuild/syncers/dosvn.in
blob: a5484ad35c353a55e3ad2d6f3b3e5ca42a87d2cd (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

LOCAL="$1"
REMOTE="$2"

[[ "${REMOTE}" == svn+http* || "${REMOTE}" == svn+https* ]] &&
    REMOTE="${REMOTE:4}"

svn checkout "${REMOTE}" "${LOCAL}/"