No, YOU'RE too nested

So at work there's this program called CHARMM that's my responsibility to build. It's not the worst thing I've ever had to compile, but it's close:

To get around this I built a script that collects arguments, applies a patch, unpacks the tarball, echoes the right args to the build script (which means, of course, that I am damned for all eternity) and then builds the damned thing. Hurrah! Everything's fine!

Except now I have to rebuild. And invoking the script is becoming complicated:

So I'm looking at all this and thinking, "Self, you're telling me I need a templating system for my templating system. Have I got that right?" And I think, "Self, you've got it." So I punch myself in the face. And that's why it hurts to build CHARMM.