浏览代码

Merge pull request #17416 from viktor-ferenczi/issue-17414

Avoid confusing traceback on attempting build without platform option
Rémi Verschelde 7 年之前
父节点
当前提交
03816e284b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      SConstruct

+ 1 - 0
SConstruct

@@ -491,6 +491,7 @@ else:
     for x in platform_list:
     for x in platform_list:
         print("\t" + x)
         print("\t" + x)
     print("\nPlease run scons again with argument: platform=<string>")
     print("\nPlease run scons again with argument: platform=<string>")
+    sys.exit(255)
 
 
 
 
 screen = sys.stdout
 screen = sys.stdout