From 809c283990bfe991c28bd9bd4f2e6cb301070019 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 24 Jun 2022 19:42:05 +0200 Subject: [PATCH] build-script: unused build via modbuild function removed --- build | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/build b/build index 0646e56..12d737b 100755 --- a/build +++ b/build @@ -330,24 +330,6 @@ Options: } pmodules::compile() { - build () { - local -r name="$1" - local -r version=$(get_version "${name}") - shift - - "${BOOTSTRAP_DIR}/Pmodules/modbuild.in" \ - "--config=${config_file}" \ - "--disable-cleanup" \ - "--force-rebuild" \ - "--debug" \ - "--verbose" \ - "${BOOTSTRAP_DIR}/Tools/${name}/build" \ - "${build_opts[@]}" "$@" "${version}" || \ - std::die 3 "Compiling '${name}' failed!" - # :FIXME: this must be fixed in modbuild! - rm -f "${BOOTSTRAP_DIR}/Tools/modulefiles/.release-$V" - } - local prefix="${PMODULES_ROOT:-${DEFAULT_PMODULES_ROOT}}" local opt_force='no' local config_file='' @@ -396,11 +378,11 @@ pmodules::compile() { if [[ "${OS}" == 'Darwin' ]]; then if [[ ! -f "${PMODULES_HOME}/${UTILBIN_DIR}/getopt" ]] || [[ ${opt_force} == 'yes' ]]; then - build getopt + : build getopt fi if [[ ! -f "${PMODULES_HOME}/${UTILBIN_DIR}/find" ]] || [[ ${opt_force} == 'yes' ]]; then - build findutils + : build findutils fi fi