chiark / gitweb /
recurse_deps(): Call itself, not needs_update(), recursively
authorPetr Baudis <pasky@suse.cz>
Sun, 10 Aug 2008 20:01:06 +0000 (22:01 +0200)
committerPetr Baudis <pasky@suse.cz>
Sun, 10 Aug 2008 20:01:06 +0000 (22:01 +0200)
tg.sh

diff --git a/tg.sh b/tg.sh
index 6312d00..4fef779 100644 (file)
--- 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"