summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Common')
-rw-r--r--BaseTools/Source/Python/Common/Misc.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/BaseTools/Source/Python/Common/Misc.py b/BaseTools/Source/Python/Common/Misc.py
index 9a63463913..27dbdace42 100644
--- a/BaseTools/Source/Python/Common/Misc.py
+++ b/BaseTools/Source/Python/Common/Misc.py
@@ -246,13 +246,8 @@ def ProcessDuplicatedInf(Path, BaseName, Workspace):
else:
Filename = BaseName + Path.BaseName
- #
- # If -N is specified on command line, cache is disabled
- # The directory has to be created
- #
DbDir = os.path.split(GlobalData.gDatabasePath)[0]
- if not os.path.exists(DbDir):
- os.makedirs(DbDir)
+
#
# A temporary INF is copied to database path which must have write permission
# The temporary will be removed at the end of build