summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--etc/build.usage2
-rw-r--r--subr/build_init.subr2
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 ]\