chiark / gitweb /
load bash profile using --login when running builds on server
authorHans-Christoph Steiner <hans@eds.org>
Tue, 21 Jun 2016 08:39:41 +0000 (10:39 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 27 Jun 2016 12:00:49 +0000 (14:00 +0200)
commit498489c570c4d430a09c472a944f0dc3ff1c46e5
tree7938161ae1e735f396e36b7efb643bb7f8b4f18c
parentd6c9a8466b19ebe100601fc1028dfc9e228263c2
load bash profile using --login when running builds on server

This will make `vagrant ssh` and `fdroid build --server` be the same env,
so troubleshooting should be easier.  !135  Here's what `man bash` says:

 When bash is invoked as an interactive login shell, or as a
 non-interactive shell with the --login option, it first reads and
 executes commands from the file /etc/profile, if that file
 exists.  After reading that file, it looks for ~/.bash_profile,
 ~/.bash_login, and ~/.profile, in that order, and reads and
 executes commands from the first one that exists and is readable.
 The --noprofile option may be used when the shell is started to
 inhibit this behavior. When a login shell exits, bash reads and
 executes commands from the file ~/.bash_logout, if it exists.
fdroidserver/build.py