diff options
Diffstat (limited to 'share/hydractl/sync-media')
-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 |