From: Petr Baudis Date: Sun, 10 Aug 2008 20:01:06 +0000 (+0200) Subject: recurse_deps(): Call itself, not needs_update(), recursively X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topgit.git;a=commitdiff_plain;h=897a2bd3fdb31a1372ac3f522befa2d5a5f7c07a recurse_deps(): Call itself, not needs_update(), recursively --- diff --git a/tg.sh b/tg.sh index 6312d00..4fef779 100644 --- a/tg.sh +++ b/tg.sh @@ -111,7 +111,7 @@ recurse_deps() # Shoo shoo, keep our environment alone! [ -z "$_dep_is_tgish" ] || - (needs_update "$_cmd" "$_dep" "$@") || + (recurse_deps "$_cmd" "$_dep" "$@") || _ret=$? eval "$_cmd"