rock-simulation / pybob

Python build scripts
4 stars 7 forks source link

Error by calling Bob-build update #18

Open annaborn opened 6 years ago

annaborn commented 6 years ago

the call bob-build update results into

Traceback(most recent call last): File "/home/dfki.uni-bremen.de/aborn/DFKI/MARS_DEV/mars_envire/pybob/pybob.py", line 366, in <module> globals()[sys.argv[1].replace("-", "_")+"_"]() KeyError: 'update_'

malter commented 6 years ago

bob-build should expect a package name and "bob-build" should be an alias to "bob build", so sys.arg[1] should be build and not update. "bob update" would result in the error you have because update is an unknown command. Pybob should handle that case better. ;-)