From: Silvio Rhatto Date: Sun, 9 Mar 2014 23:39:21 +0000 (-0300) Subject: Fix location at backup-site X-Git-Tag: 0.2.2~65 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7a3e44c787a122ce86d9e553f87817f15bcefff1;p=hydra.git Fix location at backup-site --- diff --git a/share/hydractl/backup-site b/share/hydractl/backup-site index 32c4284..b622d5e 100755 --- a/share/hydractl/backup-site +++ b/share/hydractl/backup-site @@ -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