diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-04-19 14:33:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-04-19 14:33:56 -0300 |
commit | 3bc1d3326b743b11687d78555dca4c9cfa204f52 (patch) | |
tree | 643ac8431ebbd3d66c7282fe55cfa9d11c697561 | |
parent | 2f6d565e44983b89853fbcdd51e4cce828af0ad5 (diff) | |
download | puppet-backup-3bc1d3326b743b11687d78555dca4c9cfa204f52.tar.gz puppet-backup-3bc1d3326b743b11687d78555dca4c9cfa204f52.tar.bz2 |
Fix sync-media.skip evaluation
-rw-r--r-- | files/sync-media | 2 |
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 |