When is ./sage -sh
NOT supposed to work? That is, where should this work in the spkg build process? My sense is that it should work almost immediately - even before Python, right? - but sometimes I get the message about it not working in the middle of a build I need to ./sage -sh
in to set environment variables correctly.
An acceptable answer to this could include any other way to set the appropriate variables during a build.