]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Tests/GNUmakefile
BaseTools: Fix check for ${PYTHON_COMMAND} in Tests/GNUmakefile
[mirror_edk2.git] / BaseTools / Tests / GNUmakefile
index 1cb77f84b1bfed93d74a524eb08b7d75fb3b6c03..caa4d26c9ba6cb70d9ad395c1ad67b267a09b6d5 100644 (file)
@@ -8,7 +8,7 @@
 all: test\r
 \r
 test:\r
-       @if command -v $(PYTHON_COMMAND) >/dev/null 1; then $(PYTHON_COMMAND) RunTests.py; else python RunTests.py; fi\r
+       @if command -v ${PYTHON_COMMAND} >/dev/null 2>&1; then ${PYTHON_COMMAND} RunTests.py; else python RunTests.py; fi\r
 \r
 clean:\r
        find . -name '*.pyc' -exec rm '{}' ';'\r