aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 225ae19..4b68b7c 100755
--- a/share/hydractl/backup-site
+++ b/share/hydractl/backup-site
@@ -41,7 +41,7 @@ if [ "$SITE" == "git" ] || [ "$SITE" == "svn" ]; then
elif [ "$SITE" == "debian" ]; then
LOCATION="/var/reprepro"
elif [ "$SITE" == "wiki" ]; then
- LOCATION="`ls -1 /var/www/data | grep pmwiki | sort -n | head`"
+ LOCATION="/var/www/data/`ls -1 /var/www/data | grep pmwiki | sort -n | head`"
else
LOCATION="$SITES/$SITE"
fi