From 7e84fc7a561001f9b810c6112d7227057aebaa95 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Tue, 25 Oct 2011 10:39:38 +0800 Subject: [PATCH] fixed update_all command --- lib/git/repo_index.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/git/repo_index.sh b/lib/git/repo_index.sh index 13f5b2d..89cb1b9 100644 --- a/lib/git/repo_index.sh +++ b/lib/git/repo_index.sh @@ -186,6 +186,7 @@ function _git_index_pull_or_status() { # Updates all git repositories with clean working directories. function _git_index_update_all() { echo -e "== Updating code in $_bld_col$(_git_index_count)$_txt_col repos...\n" + unset IFS for base_path in $(sed -e "s/--.*//" "$GIT_REPO_DIR/.git_index" | grep . | sort); do echo -e "===== Updating code in \e[1;32m$base_path\e[0m...\n" cd "$base_path"