diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-02 23:14:35 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-02 23:14:35 -0400 |
commit | 0d6706721278efd42eefa3a4d54ee9773711e65e (patch) | |
tree | 6781a8529270c82b88673943b90d4cd5e5ebbbed /db-functions | |
parent | b7edc550e67393483efe179d5d5cd8bd484a9a05 (diff) |
testing cleanup (backported from lukeshu/xbs)
Diffstat (limited to 'db-functions')
-rw-r--r-- | db-functions | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db-functions b/db-functions index 885e825..bd87064 100644 --- a/db-functions +++ b/db-functions @@ -449,3 +449,11 @@ arch_repo_remove() { REPO_MODIFIED=1 } + +arch_svn() { + if [ -z "${SVNUSER}" ]; then + /usr/bin/svn "${@}" + else + sudo -u "${SVNUSER}" -- /usr/bin/svn --username "${USER}" "${@}" + fi +} |