diff options
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/obnam.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yarns/obnam.sh b/yarns/obnam.sh index 0792bcee..398c0a92 100644 --- a/yarns/obnam.sh +++ b/yarns/obnam.sh @@ -54,6 +54,12 @@ run_obnam() # away, so a zero timeout is OK. add_to_config "$name" lock-timeout 0 + # If a repository format has been specified, use it. + if [ -n "$REPOSITORY_FORMAT" ] + then + add_to_config "$name" repository-format "$REPOSITORY_FORMAT" + fi + ( if [ -e "$DATADIR/$name.env" ] then |