system_path: move RUNTIME_PREFIX to a sub-function
authorJeff King <redacted>
Wed, 6 Sep 2017 12:30:28 +0000 (08:30 -0400)
committerJunio C Hamano <redacted>
Thu, 7 Sep 2017 00:41:11 +0000 (09:41 +0900)
commit39b2f6af6e009c2c087eeec293e98222eb396263
tree0c2f0fcf29fbca762aa8146ed9a06f2c9684474b
parent3d9c5b5c4461957fbbc0479e037990db04ebb740
system_path: move RUNTIME_PREFIX to a sub-function

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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
exec_cmd.c
git clone https://git.99rst.org/PROJECT