]> gitweb.fluxo.info Git - hydra.git/commitdiff
Fix location at backup-site
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 9 Mar 2014 23:39:21 +0000 (20:39 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 9 Mar 2014 23:39:21 +0000 (20:39 -0300)
share/hydractl/backup-site

index 32c4284e5d982551eb067f87ce54f8dab711447d..b622d5ee6e852182f5c7a880ee0aed52346d3aa2 100755 (executable)
@@ -96,7 +96,7 @@ EOF
 fi
 
 # Backup site
-if [ -d "$SITES/$SITE" ]; then
+if [ -d "$LOCATION" ]; then
   echo "Backing up site folder..."
   tar jcvf $PACK $LOCATION
   md5sum $PACK  > $PACK.md5