Browse Source

Fix when --debversion isn't specified

rdb 15 năm trước cách đây
mục cha
commit
8d91eff110
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      makepanda/makepanda.py

+ 1 - 0
makepanda/makepanda.py

@@ -174,6 +174,7 @@ def parseopts(args):
         usage("Options --runtime and --rtdist cannot be specified at the same time!")
     if (optimize=="" and (RTDIST or RUNTIME)): optimize = "4"
     elif (optimize==""): optimize = "3"
+    if (DEBVERSION is None): DEBVERSION = VERSION
     if (OSXTARGET != None and OSXTARGET.strip() == ""):
         OSXTARGET = None
     elif (OSXTARGET != None):