Skip to content

Commit c60c633

Browse files
committed
Another fix to build script
1 parent 7b7e7cb commit c60c633

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Build/python/mtm/util/SystemHelper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def deleteDirectoryWaitIfNecessary(self, dirPath):
191191

192192
def deleteDirectory(self, dirPath):
193193
dirPath = self._varManager.expand(dirPath)
194-
shutil.rmtree(dirPath)
194+
os.system('rmdir /S /Q "{0}"'.format(dirPath))
195195

196196
def deleteDirectoryIfExists(self, dirPath):
197197
dirPath = self._varManager.expand(dirPath)

Build/python/mtm/zen/CreateRelease.py

-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ def _createCSharpPackage(self, includeSample, outputPath):
146146

147147
self._createUnityPackage('[PackageTempDir]', outputPath)
148148
finally:
149-
time.sleep(0.5)
150149
self._sys.deleteDirectory('[PackageTempDir]')
151150

152151
def _createUnityPackage(self, projectPath, outputPath):

0 commit comments

Comments
 (0)