projects-dir.mk: Make GIT_ASKPASS absolute

The GIT_ASKPASS environment variable can point to a relative path,
and since pgit.sh currently does a chdir, it needs to be made an
absolute path.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-11-20 15:28:05 +01:00
commit 99dca58e1d

View file

@ -38,6 +38,14 @@ ifneq ($(JANWARE_USER),)
export JANWARE_USER
endif
ifneq ($(GIT_ASKPASS),)
GIT_ASKPASS := $(realpath $(GIT_ASKPASS))
endif
ifneq ($(SSH_ASKPASS),)
SSH_ASKPASS := $(realpath $(SSH_ASKPASS))
endif
# ------------ evaluate Makefile and environment variables
ifneq ($(wildcard $(PROJECTS_TXT)),)