Do not try to include files marked for deletion.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1427 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-01-04 20:05:53 +00:00
parent 388c38bfd9
commit af5ae6eeb7

View File

@@ -179,7 +179,7 @@ function test_scst_tree_patches {
# Only copy those files which are administered by Subversion.
function duplicate_scst_source_tree {
if [ -e "$1/AskingQuestions" ]; then
( cd "$1" && svn status -v | cut -c41- \
( cd "$1" && svn status -v | grep -v '^D' | cut -c41- \
| while read f; do [ ! -d "$f" ] && echo "$f"; done ) \
| tar -C "$1" --files-from=- -c -f - | tar -x -f -
else