scripts: Switch from mkpath to makedirs
authorMike Schuchardt <mikes@lunarg.com>
Wed, 28 Apr 2021 19:10:06 +0000 (12:10 -0700)
committerMike Schuchardt <mikes@lunarg.com>
Thu, 29 Apr 2021 20:06:56 +0000 (13:06 -0700)
commit2a3bbb508520a620409e606a0c3e758a8987d5f6
treedebf387d244aed0da6e207a2f84006c35ed27dab
parenteb3d67bd17ee433e2b0a8e56a7249bd83908812e
scripts: Switch from mkpath to makedirs

distutils.dir_util.mkpath will not re-create a directory if it has been
removed with shutil.rmtree because it caches the filesystem under the
hood. This was causing the clone retry to fail on the second iteration
every time.

Switch to using os.makedirs for equivalent functionality without the
cache.
scripts/update_deps.py