shlib.sh: allow passing a section name to config_get
commit5f341f2c26d652260489324686b81f3205aacdf5
authorKyle J. McKay <mackyle@gmail.com>
Mon, 29 Aug 2016 04:54:21 +0000 (28 21:54 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 29 Aug 2016 04:54:21 +0000 (28 21:54 -0700)
tree7333c84fcbf8b2cd8159150396874ea602fde924
parentab6090ef2dea9f99c71465c6ad48d061e58b6997
shlib.sh: allow passing a section name to config_get

If the section name passed in to config_get already contains a '.'
character then use it as-is without prepending "gitweb.".

This makes it possible to use other functions that call through
to config_get on config values not located in the "gitweb" section.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
shlib.sh