aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-04 14:23:27 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-04 14:23:27 +0000
commit21226b852ffb99059e2cf8bc13e8e69cf7aa2962 (patch)
treebaa13a1afacf79652e0d771ebced9617b85f0932 /scripts
parenta903d6d96a4174e255ea08be4d7feade26fb8440 (diff)
when cleaning, don't delete the entire tree of the svn:externals, only the files that need to be cleaned
svn path=/trunk/; revision=16188
Diffstat (limited to 'scripts')
-rw-r--r--scripts/auto-build/auto-build-common5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/auto-build/auto-build-common b/scripts/auto-build/auto-build-common
index bfc0a671..39310786 100644
--- a/scripts/auto-build/auto-build-common
+++ b/scripts/auto-build/auto-build-common
@@ -89,7 +89,10 @@ clean_and_update_folder()
git pull
elif [ -d $folder/.svn ]; then
svn revert -R .
- svn status --no-ignore | awk '{print $2}' | xargs rm -rf
+ svn status --no-ignore | \
+ grep -v '^X' | \
+ awk '{print $2}' | \
+ xargs rm -rf
svn update
else
echo "no cleaning done, unknown SCM"