diff options
-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" |