diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-05-31 08:28:16 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-05-31 08:28:16 +0000 |
commit | 4c59fa03f0bca286dff6003beb365794ecb60e72 (patch) | |
tree | 5b87d9bb425c930090e7295e228474ad58e7f8dc | |
parent | 470950a3d5b291ed731ac4e8896a99a6f82f9a53 (diff) | |
download | midipix_build-4c59fa03f0bca286dff6003beb365794ecb60e72.tar.bz2 midipix_build-4c59fa03f0bca286dff6003beb365794ecb60e72.tar.xz |
subr/build_init.subr, etc/build.usage: additionally source ${HOME}/.midipix_build.vars.
-rw-r--r-- | etc/build.usage | 2 | ||||
-rw-r--r-- | 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 ]\ |