From 4c59fa03f0bca286dff6003beb365794ecb60e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Thu, 31 May 2018 08:28:16 +0000 Subject: subr/build_init.subr, etc/build.usage: additionally source ${HOME}/.midipix_build.vars. --- etc/build.usage | 2 +- subr/build_init.subr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/build.usage b/etc/build.usage index 8197c2a9..71ba6833 100644 --- a/etc/build.usage +++ b/etc/build.usage @@ -46,7 +46,7 @@ usage: ./build.sh [-4|6] [-a nt32|nt64] [-b debug|release] packages_deps or host_packages_deps, native_packages_deps, native_packages_deps_x11, packages or native_packages, or dist. - ${HOME}/midipix_build.vars will be sourced if present. + ${HOME}/midipix_build.vars, ${HOME}/.midipix_build.vars, and/or ../midipix_build.vars will be sourced if present. Examples: ./build.sh -r coreutils diff --git a/subr/build_init.subr b/subr/build_init.subr index 7683ccf0..a76b9c42 100644 --- a/subr/build_init.subr +++ b/subr/build_init.subr @@ -30,7 +30,7 @@ build_init() { fi; ex_rtl_log_msg failexit "Error: invalid architecture \`${ARCH}'."; fi; - for __ in ${HOME}/midipix_build.vars ../midipix_build.vars ./vars/env.vars ./vars/midipix.vars ./vars/build.vars; do + for __ in ${HOME}/midipix_build.vars ${HOME}/.midipix_build.vars ../midipix_build.vars ./vars/env.vars ./vars/midipix.vars ./vars/build.vars; do [ -e ${__} ] && . ${__}; done; if [ "${ARG_AS_NEEDED:-0}" -eq 1 ]\ -- cgit v1.2.3