diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-07-26 11:26:57 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-07-26 11:26:57 -0300 |
commit | b50ad3991bdd146aa1a184684969b4f6fb53dff2 (patch) | |
tree | e525dfe193afc4081e72649e86105cc9b346e4a5 /share | |
parent | 5a3c8624f2f3bbcc62aef6c0fc1717897ce2ee36 (diff) | |
download | hydra-b50ad3991bdd146aa1a184684969b4f6fb53dff2.tar.gz hydra-b50ad3991bdd146aa1a184684969b4f6fb53dff2.tar.bz2 |
Fix git-annex initialization at sync-media
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/sync-media | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media index 000909f..bff3987 100755 --- a/share/hydractl/sync-media +++ b/share/hydractl/sync-media @@ -207,7 +207,7 @@ for folder in `ls $CACHE`; do if [ -d "$CACHE/$folder/.git/annex" ]; then ( - cd $VOLUME/$MEDIA + cd $VOLUME/$MEDIA/$folder git annex init $DRIVE && git config sync-media.getall true ) fi @@ -281,7 +281,7 @@ if [ ! -z "$DRIVE" ] && [ -d "$VOLUME/$MEDIA" ]; then if [ -d "$VOLUME/$MEDIA/$folder/.git/annex" ]; then ( - cd $CACHE + cd $CACHE/$folder git annex init $HOST ) fi |