carbon-core-system

Integration repository for versioned configuration and software on Carbon
git clone https://ccx.te2000.cz/git/carbon-core-system
Log | Files | Refs | Submodules

commit 042af0915b027490c7fd94e90f6db25e1689915f
parent e175dd13a14ab5ba7bf1d24fdc7eeb5572f2f9bb
Author: ccx <root@dorje.wpr.cz>
Date:   Mon, 29 Mar 2021 18:13:32 +0200

Fix parameter names

Diffstat:
Minstall | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/install b/install @@ -58,7 +58,7 @@ ln_sub_command() { done } install_dot() { - local s f + local submodule cmd # export sm_dst_* variables for each submodule for s in "${(k@)sm_dst}"; do eval "export sm_dst_${submodule//-/_}"='$sm_dst[$submodule]' @@ -71,9 +71,8 @@ install_dot() { ./command/s6-rc-compile ./s6-rc-db ./s6-rc-source || exit $? ln_sub init init-maker ./init-maker/install . || exit $? - local f - for f in init/{command,bin}/*(N); do - s6-ln -s ../$f ./command/ || exit $? + for cmd in init/{command,bin}/*(N); do + s6-ln -s ../$cmd ./command/ || exit $? done }