Removed the test against directory existence when for directory creation command...
authorjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Mon, 5 May 2008 02:06:32 +0000 (02:06 +0000)
committerjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Mon, 5 May 2008 02:06:32 +0000 (02:06 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1194 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/AutoGen/GenMake.py

index 3cba43c..e429936 100755 (executable)
@@ -131,7 +131,7 @@ class BuildFile(object):
     ## directory creation template\r
     _MD_TEMPLATE_ = {\r
         "nmake" :   'if not exist %(dir)s $(MD) %(dir)s',\r
-        "gmake" :   "test ! -e %(dir)s && $(MD) %(dir)s"\r
+        "gmake" :   "$(MD) %(dir)s"\r
     }\r
 \r
     ## directory removal template\r