dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 076a03ca655574a753257ced48ca1be561213358
parent fc4d72ab67ad381382ce2140b4e92622cf2688f1
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  4 Jul 2019 10:04:46 +0200

Fix inadvertent recursion in backup script

Diffstat:
M.local/bin/backup | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/bin/backup b/.local/bin/backup @@ -23,7 +23,7 @@ die() { } -backup() { +backup_home_etc() { rsync -ravzhe ssh --delete /etc/ "$1"/etc/ rsync -ravzhe ssh --delete --progress \ --exclude=tmp \ @@ -64,4 +64,4 @@ if [ $# -lt 1 ]; then die 'error: no TARGET specified, see --help' fi -backup "$1" +backup_home_etc "$1"