Fix clean operation in fetch_sources.py
authorBoris Zanin <boris.zanin@mobica.com>
Mon, 4 Sep 2017 11:04:42 +0000 (13:04 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 11 Sep 2017 08:45:43 +0000 (04:45 -0400)
commit95119315f103deff4c2be45a6ce2bcda0e103596
tree232ae584fa4d6ed314f01cfb9d41826c4af13ab6
parentbda54aaefe2ce0c6bf05b1fc58b98721b9a9f1a2
Fix clean operation in fetch_sources.py

Running fetch_sources.py with --clean parameter under Windows causes
script to fail, due to git creates files read only in following
folder: ".git\\objects\\pack\\*".

The fix now removes readonly files first, then the whole tree.

Components: Framework

VK-GL-CTS Issue: 661

Change-Id: I5f739405a090708d76642bdb4fa3623a25bd1dc7
external/fetch_sources.py