aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/backup-site
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-09 20:55:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-09 20:55:16 -0300
commitd862dfc31efdc28f41beac0844319dfc4f1da5d3 (patch)
tree2edd19c531961b96428eadb43b2c24057c900825 /share/hydractl/backup-site
parente9251260a9b6511ad09ef473b1202f6bc2a2218d (diff)
downloadhydra-d862dfc31efdc28f41beac0844319dfc4f1da5d3.tar.gz
hydra-d862dfc31efdc28f41beac0844319dfc4f1da5d3.tar.bz2
Trying to determine wiki location at backup-site (3)
Diffstat (limited to 'share/hydractl/backup-site')
-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