Allow ETC_GITCONFIG to be a relative path.
commit44bacc53bf8d5e0e7f526f6599ec0b9a9836ebc2
authorJohannes Sixt <johannes.sixt@telecom.at>
Sun, 10 Jun 2007 18:14:53 +0000 (10 20:14 +0200)
committerJohannes Sixt <johannes.sixt@telecom.at>
Sun, 10 Jun 2007 18:14:53 +0000 (10 20:14 +0200)
tree7246dd2214a984d3fec440bd9133b1d0d75092a3
parent77398b214dc6c9c1ffd169cae821b31405c0cfc7
Allow ETC_GITCONFIG to be a relative path.

If ETC_GITCONFIG is not an absolute path, interpret it relative to
--exec-dir. This makes the installed binaries relocatable because the
prefix is not compiled-in.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
config.c