From: Silvio Rhatto Date: Sat, 19 Apr 2014 17:33:56 +0000 (-0300) Subject: Fix sync-media.skip evaluation X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3bc1d3326b743b11687d78555dca4c9cfa204f52;p=puppet-backup.git Fix sync-media.skip evaluation --- diff --git a/files/sync-media b/files/sync-media index 524517d..4e84035 100644 --- a/files/sync-media +++ b/files/sync-media @@ -155,7 +155,7 @@ fi if [ ! -z "$DRIVE" ] && [ -d "$VOLUME/$MEDIA" ]; then for folder in `ls $VOLUME/$MEDIA`; do if [ -d "$VOLUME/$MEDIA/$folder/.git/annex" ]; then - if [ "`git -C $CACHE/$folder config sync-media.skip`" == "true" ]; then + if [ "`git -C $VOLUME/$MEDIA/$folder config sync-media.skip`" == "true" ]; then continue fi