system_path: move RUNTIME_PREFIX to a sub-function
authorJeff King <peff@peff.net>
Wed, 6 Sep 2017 12:30:28 +0000 (08:30 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Sep 2017 00:41:11 +0000 (09:41 +0900)
The system_path() function has an #ifdef in the middle of
it. Let's move the conditional logic into a sub-function.
This isolates it more, which will make it easier to change
and add to.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found