ok, looks good, applied to next.

On Thu, Jun 14, 2012 at 2:34 AM, Amos Kong <ak...@redhat.com> wrote:
> Let's fix this issue by move examples to other directory
>
> This reverts commit bc43cafb2c005071cf66cabdee114d21cf27950a.
> ---
>  client/tools/make_clean |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/client/tools/make_clean b/client/tools/make_clean
> index 146fa1b..a74699e 100755
> --- a/client/tools/make_clean
> +++ b/client/tools/make_clean
> @@ -18,7 +18,7 @@ def purge_src(top_dir):
>             continue
>         ret = os.system('grep -q "preserve_srcdir = " ' + py)
>         src_path = os.path.abspath(os.path.join('tests', dir, 'src'))
> -        if not os.path.exists(src_path) or not src_path.count('example'):
> +        if not os.path.exists(src_path):
>             continue
>         if ret:                 # This should have a replaceable src dir
>             cmd = 'rm -rf ' + src_path
> --
> 1.7.1
>
> _______________________________________________
> Autotest mailing list
> Autotest@test.kernel.org
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest



-- 
Lucas
_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to