mirror of
https://github.com/darlinghq/darling-openjdk.git
synced 2024-11-26 22:00:25 +00:00
8188910: jib configure requires --src-dir for out fo tree builds, second attempt
Reviewed-by: dholmes, tbell, ihse
This commit is contained in:
parent
f40b349dcc
commit
078ae7e907
@ -39,7 +39,7 @@ setup_url() {
|
||||
jib_repository="jdk-virtual"
|
||||
jib_organization="jpg/infra/builddeps"
|
||||
jib_module="jib"
|
||||
jib_revision="2.0-SNAPSHOT"
|
||||
jib_revision="3.0-SNAPSHOT"
|
||||
jib_ext="jib.sh.gz"
|
||||
|
||||
closed_script="${mydir}/../../closed/make/conf/jib-install.conf"
|
||||
@ -146,4 +146,9 @@ elif [ ! -e "${install_data}" ] || [ "${data_string}" != "$(cat "${install_data}
|
||||
install_jib
|
||||
fi
|
||||
|
||||
# Provide a reasonable default for the --src-dir parameter if run out of tree
|
||||
if [ -z "${JIB_SRC_DIR}" ]; then
|
||||
export JIB_SRC_DIR="${mydir}/../"
|
||||
fi
|
||||
|
||||
${installed_jib_script} "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user