diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 20:55:16 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-09 20:55:16 -0300 |
commit | d862dfc31efdc28f41beac0844319dfc4f1da5d3 (patch) | |
tree | 2edd19c531961b96428eadb43b2c24057c900825 /share/hydractl | |
parent | e9251260a9b6511ad09ef473b1202f6bc2a2218d (diff) | |
download | hydra-d862dfc31efdc28f41beac0844319dfc4f1da5d3.tar.gz hydra-d862dfc31efdc28f41beac0844319dfc4f1da5d3.tar.bz2 |
Trying to determine wiki location at backup-site (3)
Diffstat (limited to 'share/hydractl')
-rwxr-xr-x | share/hydractl/backup-site | 2 |
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 |