aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-21 20:01:50 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-21 20:01:50 +0000
commitfa1af0292d29db65362e0ca32858bc2a60106654 (patch)
treead55b4ada2d2ad6a71d25d415d068b9156552329
parentc52883fb4f09c7792e21459c5d4164a5903717ff (diff)
a little closer to a working script for removing defunct svn:externals
svn path=/trunk/; revision=16261
-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
}