]> gitweb.fluxo.info Git - hydra.git/commitdiff
Minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Sep 2011 22:33:32 +0000 (19:33 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 27 Sep 2011 22:33:32 +0000 (19:33 -0300)
share/hydractl/backup-site

index ec6855f7cf18bce01055456e79275bf32dc58bbd..856e69533daa2fed85d51487275020b113c50780 100755 (executable)
@@ -29,7 +29,7 @@ fi
 
 # Access setup
 if [ ! -e "$SITES/backups/site/$SITE/.htaccess" ]; then
-  echo > $SITES/backups/site/$SITE/.htaccess <<EOF
+  cat > $SITES/backups/site/$SITE/.htaccess <<-EOF
 AuthType Basic
 AuthName "Backup $SITE"
 AuthUserFile $SITES/backups/site/$SITE/.htpasswd