summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-26 13:28:13 +0200
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-26 13:28:13 +0200
commitd82a0f1fcbf04642b53fb61ef6b80d610ef0ecf3 (patch)
tree2fb139f47c3fb089fc3e585c458235f590abbd87
parent63159e284d747a9e54b7870c6558af9bdd873e10 (diff)
downloadmidipix_build-d82a0f1fcbf04642b53fb61ef6b80d610ef0ecf3.tar.bz2
midipix_build-d82a0f1fcbf04642b53fb61ef6b80d610ef0ecf3.tar.xz
subr.ex/ex_pkg_env.subr: add header.
subr.rtl/rtl_fetch_git.subr: cleanup.
-rw-r--r--subr.ex/ex_pkg_env.subr3
-rw-r--r--subr.rtl/rtl_fetch_git.subr6
2 files changed, 6 insertions, 3 deletions
diff --git a/subr.ex/ex_pkg_env.subr b/subr.ex/ex_pkg_env.subr
index a34a2840..bf5425d7 100644
--- a/subr.ex/ex_pkg_env.subr
+++ b/subr.ex/ex_pkg_env.subr
@@ -2,6 +2,9 @@
# Copyright (c) 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de>
# set +o errexit -o noglob -o nounset is assumed.
#
+# Package variable and environment variable preparation
+# Package build (step) state setting and testing
+#
#
# exp_pkg_env_defaults() - set package variable defaults for single named package
diff --git a/subr.rtl/rtl_fetch_git.subr b/subr.rtl/rtl_fetch_git.subr
index f4ac293e..db8a8614 100644
--- a/subr.rtl/rtl_fetch_git.subr
+++ b/subr.rtl/rtl_fetch_git.subr
@@ -34,7 +34,7 @@ rtlp_fetch_url_git() {
exit "${?}";) || return 1;
(rtl_fileop cd "${_rpfug_dlcachedir_full}" &&\
git submodule update) || return 1;
- else
+ else
if git clone \
${_rpfug_git_args} \
-b "${_rpfug_git_branch:-main}" \
@@ -44,7 +44,7 @@ rtlp_fetch_url_git() {
_rpfug_clonefl=1;
elif [ "${_rpfug_mirrors}" = "skip" ]; then
return 1;
- else
+ else
for _rpfug_url_base in ${_rpfug_mirrors}; do
if git clone \
${_rpfug_git_args} \
@@ -125,7 +125,7 @@ rtl_fetch_mirror_urls_git() {
(rtl_fileop cd "${_rfmug_target_dname}/${_rfmug_repo_dname}" &&\
git fetch ${_rfmug_git_args} --all) ||\
return 1;
- else
+ else
(rtl_fileop cd "${_rfmug_target_dname}" &&\
git clone ${_rfmug_git_args} --mirror "${_rfmug_url}" "${_rfmug_repo_dname}") ||\
return 1;