mirror of
https://github.com/git/git.git
synced 2026-01-09 01:34:00 +00:00
exec_cmd: RUNTIME_PREFIX on z/OS systems
Enable Git to resolve its own binary location using __getprogramdir and getprogname. Since /proc is not a mandatory filesystem on z/OS, we cannot rely on the git_get_exec_path_procfs method to determine Git's executable path. To address this, we have implemented git_get_exec_path_zos, which resolves the executable path by extracting it from the current program's directory and filename. Signed-off-by: D Harithamma <harithamma.d@ibm.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
3a7362eb9f
commit
987bbcd088
@@ -648,6 +648,7 @@ ifeq ($(uname_S),OS/390)
|
||||
NO_GECOS_IN_PWENT = YesPlease
|
||||
HAVE_STRINGS_H = YesPlease
|
||||
NEEDS_MODE_TRANSLATION = YesPlease
|
||||
HAVE_ZOS_GET_EXECUTABLE_PATH = YesPlease
|
||||
endif
|
||||
ifeq ($(uname_S),MINGW)
|
||||
ifeq ($(shell expr "$(uname_R)" : '1\.'),2)
|
||||
|
||||
Reference in New Issue
Block a user