Android test runner: Do not copy files in *.svn folder

Review URL: https://chromiumcodereview.appspot.com/10815050
Patch from Haitao Feng <haitao.feng@intel.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12171 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
jkummerow@chromium.org 2012-07-23 11:34:03 +00:00
parent 398a179d51
commit 72e4a144da

View File

@ -55,7 +55,7 @@ function sync_file {
function sync_dir {
local DIR=$1
echo -n "sync to $ANDROID_V8/$DIR"
for FILE in $(find "$HOST_V8/$DIR" -type f); do
for FILE in $(find "$HOST_V8/$DIR" -not -path "*.svn*" -type f); do
local RELATIVE_FILE=${FILE:${#HOST_V8}}
sync_file "$RELATIVE_FILE"
done