diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-09-04 14:23:27 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-09-04 14:23:27 +0000 |
commit | 21226b852ffb99059e2cf8bc13e8e69cf7aa2962 (patch) | |
tree | baa13a1afacf79652e0d771ebced9617b85f0932 | |
parent | a903d6d96a4174e255ea08be4d7feade26fb8440 (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
-rw-r--r-- | scripts/auto-build/auto-build-common | 5 |
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" |