commit 700f873c4a44d3dfc5f242bef6b7e0c708269296
parent 042af0915b027490c7fd94e90f6db25e1689915f
Author: ccx <root@dorje.wpr.cz>
Date: Mon, 29 Mar 2021 18:16:15 +0200
Fix parameter names
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/install b/install
@@ -52,8 +52,8 @@ ln_from_sub() {
s6-ln -s ../${${sm_dst[$1]}:t}/$2 $3 || exit $?
}
ln_sub_command() {
- local f
- for f in ${${sm_dst[$1]}:}/{command,bin}/*(N); do
+ local cmd
+ for cmd in ${${sm_dst[$1]}:t}/{command,bin}/*(N); do
s6-ln -s ../$f ./command/ || exit $?
done
}