chiark / gitweb /
Fix buildserver, broken by e449d2f
authorCiaran Gultnieks <ciaran@ciarang.com>
Sat, 18 Jun 2016 11:10:36 +0000 (12:10 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Sat, 18 Jun 2016 11:15:16 +0000 (12:15 +0100)
commitd7e6e335f3b063399bfa3fe7e11f746cf86a56fc
treece432d50dc4d092216a7c6e704e93062b2648052
parentd6ab05c567efe7271b90d571375ca2dac51994cc
Fix buildserver, broken by e449d2f

Switching to a script /etc/profile.d to set up the environment is all
well and good, except that doesn't get run when you directly execute a
command directly via ssh, which means that the buildserver didn't work
at all (at least for anything that used gradle, or relied on the
environment variables.

This fix doesn't look very nice, but it works - it just forces the
appropriate script to run before build.py is executed on the server.

(Side note, I thought we had tests for this, how did it get past them?)
fdroidserver/build.py