YosysHQ / oss-cad-suite-build

Multi-platform nightly builds of open source digital design and verification tools
ISC License
742 stars 67 forks source link

Handle unset `${HOME}` gracefully #79

Open attie opened 11 months ago

attie commented 11 months ago

Per #75, we are having issues with Glasgow, where ${HOME} is forcibly unset - these scripts expect it to be set and get upset when trying to execute what resolves to mkdir /.config.

The culmination of this PR is a fix to only set up the derived environment variables when ${HOME} is actually available - something that I believe is only really required for the UI component fo the toolchain anyway.

I took the opportunity for some other enhancements too.