Merge branch 'js/runtime-prefix-trace-not-warn'
* js/runtime-prefix-trace-not-warn: Print RUNTIME_PREFIX warning only when GIT_TRACE is set
This commit is contained in:
@ -28,7 +28,7 @@ const char *system_path(const char *path)
|
|||||||
!(prefix = strip_path_suffix(argv0_path, BINDIR)) &&
|
!(prefix = strip_path_suffix(argv0_path, BINDIR)) &&
|
||||||
!(prefix = strip_path_suffix(argv0_path, "git"))) {
|
!(prefix = strip_path_suffix(argv0_path, "git"))) {
|
||||||
prefix = PREFIX;
|
prefix = PREFIX;
|
||||||
fprintf(stderr, "RUNTIME_PREFIX requested, "
|
trace_printf("RUNTIME_PREFIX requested, "
|
||||||
"but prefix computation failed. "
|
"but prefix computation failed. "
|
||||||
"Using static fallback '%s'.\n", prefix);
|
"Using static fallback '%s'.\n", prefix);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user