| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
SVN_REPOS="" |
| 4 |
|
| 5 |
#shellcheck disable=SC2154 |
| 6 |
if [[ -r "${UPAC_settingsd}/31_aide_svn-server_settings" ]]; then |
| 7 |
# pull in configuration |
| 8 |
#shellcheck disable=SC1090 |
| 9 |
. "${UPAC_settingsd}/31_aide_svn-server_settings" |
| 10 |
fi |
| 11 |
|
| 12 |
for svnpath in ${SVN_REPOS}; do |
| 13 |
[[ -d "${svnpath}" ]] || exit 1 |
| 14 |
svnpath="${svnpath//\./\\\\.}" |
| 15 |
printf "%sdb/(txn-)?current$ f VarFile\\n" "${svnpath}" |
| 16 |
printf "%sdb/rev(prop)?s/0/[0-9]+$ f Full+ANF\\n" "${svnpath}" |
| 17 |
printf "%s(db(/(txn-protorevs|transactions|rev(prop)?s/0))?|dav/activities\\.d)$ d VarDir\\n" "${svnpath}" |
| 18 |
done |