icecc / icecream

Distributed compiler with a central scheduler to share build load
GNU General Public License v2.0
1.6k stars 252 forks source link

Fix relative paths to daemon's -b env #613

Open Zalewa opened 1 year ago

Zalewa commented 1 year ago

Because the daemon chdirs to /, the envbasedir path would be relative to /. To mitigate that, resolve the relative envbasedir path against the current working directory before this directory is chdired.