| 288 | #endif /* RUNTIME_PREFIX */ |
| 289 | |
| 290 | char *system_path(const char *path) |
| 291 | { |
| 292 | struct strbuf d = STRBUF_INIT; |
| 293 | |
| 294 | if (is_absolute_path(path)) |
| 295 | return xstrdup(path); |
| 296 | |
| 297 | strbuf_addf(&d, "%s/%s", system_prefix(), path); |
| 298 | return strbuf_detach(&d, NULL); |
| 299 | } |
| 300 | |
| 301 | static const char *exec_path_value; |
| 302 |
no test coverage detected