aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-04-19 14:33:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-04-19 14:33:56 -0300
commit3bc1d3326b743b11687d78555dca4c9cfa204f52 (patch)
tree643ac8431ebbd3d66c7282fe55cfa9d11c697561 /files
parent2f6d565e44983b89853fbcdd51e4cce828af0ad5 (diff)
downloadpuppet-backup-3bc1d3326b743b11687d78555dca4c9cfa204f52.tar.gz
puppet-backup-3bc1d3326b743b11687d78555dca4c9cfa204f52.tar.bz2
Fix sync-media.skip evaluation
Diffstat (limited to 'files')
-rw-r--r--files/sync-media2
1 files changed, 1 insertions, 1 deletions
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