]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
BaseTools: Fixed the build fail on Linux with --genfds-multi-thread
[mirror_edk2.git] / BaseTools / Source / Python / GenFds / GenFdsGlobalVariable.py
index 037828ea1cca241729da1b05e691b7d062343ac6..0f691ae52420f5baab9e9803a00fbfb67260450e 100644 (file)
@@ -489,7 +489,7 @@ class GenFdsGlobalVariable:
                 if GlobalData.gGlobalDefines.get("FAMILY") == "MSFT":\r
                     Cmd = ['if', 'exist', Input[0]] + Cmd\r
                 else:\r
-                    Cmd = ['test', '-e', Input[0], "&&"] + Cmd\r
+                    Cmd = ['-test', '-e', Input[0], "&&"] + Cmd\r
                 if ' '.join(Cmd).strip() not in GenFdsGlobalVariable.SecCmdList:\r
                     GenFdsGlobalVariable.SecCmdList.append(' '.join(Cmd).strip())\r
             elif GenFdsGlobalVariable.NeedsUpdate(Output, list(Input) + [CommandFile]):\r