mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
To avoid confusion, let's make it impossible to run makepanda without any of the --everything, --nothing, --use-*, --no-* flags.
This commit is contained in:
parent
dd2b42eaf1
commit
4f1e88cc70
@ -148,7 +148,9 @@ def parseopts(args):
|
||||
if (option=="--no-"+pkg.lower()):
|
||||
PkgDisable(pkg)
|
||||
break
|
||||
anything = 1
|
||||
if (option=="--everything" or option.startswith("--use-")
|
||||
or option=="--nothing" or option.startswith("--no-")):
|
||||
anything = 1
|
||||
except: usage(0)
|
||||
if (anything==0): usage(0)
|
||||
if (RTDIST and RUNTIME):
|
||||
|
Loading…
x
Reference in New Issue
Block a user