]> gitweb.fluxo.info Git - puppet-backup.git/commitdiff
Fix sync-media.skip evaluation
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 19 Apr 2014 17:33:56 +0000 (14:33 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 19 Apr 2014 17:33:56 +0000 (14:33 -0300)
files/sync-media

index 524517d8ff28a2641af0a4831e3f909ced017444..4e84035de5235b4feb55dc7567b698f722baf327 100644 (file)
@@ -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