X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=btrbk-run;h=bfb2080778699b17b816737170a2c7a33cf7f1eb;hb=3f878090bcbab55fb07cca8cc840b4817c6eb7c5;hp=48550db1a4b2793418501cbfa32a1b234d538994;hpb=343a048be4b32d18540c6531048d2b9a006774ae;p=distro-setup diff --git a/btrbk-run b/btrbk-run index 48550db..bfb2080 100644 --- a/btrbk-run +++ b/btrbk-run @@ -44,7 +44,7 @@ rsync-dirs() { pre="${0##*/}: " m() { if $verbose; then printf "$pre%s\n" "$*"; fi; "$@"; } -e() { printf "$pre%s\n" "$*"; "$@"; } +e() { printf "$pre%s\n" "$*"; } die() { printf "$pre%s\n" "$*" >&2; exit 1; } # latest $MAIL_HOST @@ -125,7 +125,7 @@ if [[ -v targets && $source ]]; then fi if $verbose; then - e "options: conf_only=%s\ndry_run=%s\nrate_limit=%s\nverbose=%s\ncmd_arg=%s" "$conf_only" "$dry_run" "$rate_limit" "$verbose" "$cmd_arg" + printf "options: conf_only=%s\ndry_run=%s\nrate_limit=%s\nverbose=%s\ncmd_arg=%s" "$conf_only" "$dry_run" "$rate_limit" "$verbose" "$cmd_arg" fi ### end options parsing @@ -152,6 +152,9 @@ if [[ ! -v targets && ! $source ]]; then x2) targets=($home kw) ;; + x3) + targets=($home) + ;; tp) # kd disabled temporarily while its hot and i plan to work on it. #targets=(frodo kd)