aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/auto-build/auto-build-common4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common
index 9a970790..4af85710 100644
--- a/scripts/auto-build/auto-build-common
+++ b/scripts/auto-build/auto-build-common
@@ -106,13 +106,11 @@ remove_dead_svn_externals()
{
svn=$(find_svn)
svn_externals=`$svn propget -R svn:externals "$1" | sed 's|^.* - ||' | awk '{print $1}'`
- for external in `$svn status --no-ignore "$1" | grep '^[X?]' | awk '{print $2}'`; do
+ for external in `$svn status --no-ignore "$1" | grep '^[X]' | awk '{print $2}'`; do
name=$(basename $external)
if [ -z "$(echo $svn_externals | grep $name)" ]; then
echo "Removing defunct svn:external '$name' at '$external'"
echo rm -rf "$external"
- else
- echo "not removing $external"
fi
done
}