enclustra-bsp / enclustra-buildscripts

Enclustra Build Environment
Other
4 stars 13 forks source link

Bug in build.py? #18

Open parasxos opened 4 years ago

parasxos commented 4 years ago

Hello dear EBE team,

I had an issue with build.py

I needed to change line 206 from if config.read(root_path + "/enclustra.ini") is None: to if len(config.read(root_path + "/enclustra.ini")) == 0:

Then it works as expected

andreas-buerkler-enclustra commented 4 years ago

Thank you for reporting this. I added this fix in the develop branch. If you clone the bsp-xilinx or bsp-altera repsitory, the enclustra.ini file should always be present, but if it was deleted, config.read is not returning 'None'.