From 352bec5ce7a675f75ba687489da22b24407c77c6 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 4 Oct 2007 16:21:06 -0400 Subject: [PATCH] Fixed sde-update-tree to not error when there is no package/* because package/ is not yet cloned --- bin/sde-update-tree | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sde-update-tree b/bin/sde-update-tree index 94c51a2..9dec087 100755 --- a/bin/sde-update-tree +++ b/bin/sde-update-tree @@ -54,7 +54,7 @@ cd "$SDEROOT" tree="${SDEROOT##*/}" # hunt for the roots of the sub-working trees # -for x in . package package/* target/*; do +for x in $( ls -1d . package package/* target/* 2> /dev/null ); do if [ ! -d "$x" ]; then case "$x" in package)