aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-09 20:39:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-09 20:39:21 -0300
commit7a3e44c787a122ce86d9e553f87817f15bcefff1 (patch)
treef8e161d395afd566eb143dbc2ce67f17582cf9a6 /share/hydractl
parentd60dc74257d81d2b04bc5d4b7a1566683a3c3a00 (diff)
downloadhydra-7a3e44c787a122ce86d9e553f87817f15bcefff1.tar.gz
hydra-7a3e44c787a122ce86d9e553f87817f15bcefff1.tar.bz2
Fix location at backup-site
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/backup-site2
1 files changed, 1 insertions, 1 deletions
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