Makefile: JWB_SCRIPT_DIR: Add support for /opt/jw-build/bin

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2024-07-16 15:21:15 +00:00
commit 2989cc87c8

View file

@ -46,7 +46,7 @@ export JW_BUILD_VERBOSE
# ------------ external programs I
CWD := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
JWB_SCRIPT_DIR = ./jw-build/scripts
JWB_SCRIPT_DIR = $(firstword $(wildcard ./jw-build/scripts /opt/jw-build/bin) jwb-script-dir-not-found)
GET_OS_SH = /bin/bash $(firstword $(wildcard $(JWB_SCRIPT_DIR)/get-os.sh /opt/jw-build/bin/get-os.sh) get-os-sh-not-found)
SSH_WRAPPER_SH := $(CWD)/ssh-wrapper.sh