From bd1838e78ae69ca634e7067419439893b0b73180 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 14 Jan 2013 22:58:05 -0500 Subject: [PATCH] dotfiles.sh: space/tab indentation cleanups --- dotfiles.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dotfiles.sh b/dotfiles.sh index 39574b2..f499ee9 100755 --- a/dotfiles.sh +++ b/dotfiles.sh @@ -106,7 +106,7 @@ function run_on_all_repos() COMMAND="${1}" shift if [ -z "${REPO}" ]; then # run on all repositories - for REPO in *; do + for REPO in *; do if [ "${REPO}" = '*' ]; then break # no known repositories elif [ -f "${REPO}" ]; then @@ -414,7 +414,7 @@ function diff() '--removed') MODE='removed' ;; - '--local-patch') + '--local-patch') MODE='local-patch' ;; *) @@ -795,8 +795,8 @@ function main() echo "${VERSION}" return ;; - '--dotfiles-dir') - DOTFILES_DIR="${2}" + '--dotfiles-dir') + DOTFILES_DIR="${2}" shift ;; '--target') @@ -825,10 +825,10 @@ function main() shift done if [ "${#}" -eq 0 ]; then - run_on_all_repos "${COMMAND}" "${OPTIONS[@]}" || return 1 + run_on_all_repos "${COMMAND}" "${OPTIONS[@]}" || return 1 else maxargs "${0}" 1 "${@}" || return 1 - "${COMMAND}" "${OPTIONS[@]}" "${1}" || return 1 + "${COMMAND}" "${OPTIONS[@]}" "${1}" || return 1 fi fi } -- 2.26.2