Quellcode durchsuchen

Fix when --debversion isn't specified

rdb vor 15 Jahren
Ursprung
Commit
8d91eff110
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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!")
         usage("Options --runtime and --rtdist cannot be specified at the same time!")
     if (optimize=="" and (RTDIST or RUNTIME)): optimize = "4"
     if (optimize=="" and (RTDIST or RUNTIME)): optimize = "4"
     elif (optimize==""): optimize = "3"
     elif (optimize==""): optimize = "3"
+    if (DEBVERSION is None): DEBVERSION = VERSION
     if (OSXTARGET != None and OSXTARGET.strip() == ""):
     if (OSXTARGET != None and OSXTARGET.strip() == ""):
         OSXTARGET = None
         OSXTARGET = None
     elif (OSXTARGET != None):
     elif (OSXTARGET != None):