From 21226b852ffb99059e2cf8bc13e8e69cf7aa2962 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 4 Sep 2012 14:23:27 +0000 Subject: 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 --- scripts/auto-build/auto-build-common | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" -- cgit v1.2.1