Skip to content

Commit

Permalink
Another fix to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
svermeulen committed Apr 22, 2019
1 parent 7b7e7cb commit c60c633
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Build/python/mtm/util/SystemHelper.py
Expand Up @@ -191,7 +191,7 @@ def deleteDirectoryWaitIfNecessary(self, dirPath):

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

def deleteDirectoryIfExists(self, dirPath):
dirPath = self._varManager.expand(dirPath)
Expand Down
1 change: 0 additions & 1 deletion Build/python/mtm/zen/CreateRelease.py
Expand Up @@ -146,7 +146,6 @@ def _createCSharpPackage(self, includeSample, outputPath):

self._createUnityPackage('[PackageTempDir]', outputPath)
finally:
time.sleep(0.5)
self._sys.deleteDirectory('[PackageTempDir]')

def _createUnityPackage(self, projectPath, outputPath):
Expand Down

0 comments on commit c60c633

Please sign in to comment.