commit 6c5cecc27709a0d4600ef509790f735ba7584cd4
parent 475dcdace04812b432ff21cbf1f4fccb7f9b87ff
Author: ccx <root@dorje.wpr.cz>
Date: Thu, 11 Mar 2021 17:15:11 +0100
update init, export sm_dst_* env variables
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/install b/install
@@ -116,6 +116,7 @@ submodule() {
sm_dst[.]=/versions/all.${sm_commit[.]}
else
sm_dst[$submodule]=/versions/$submodule.${sm_commit[$submodule]}
+ eval "export sm_dst_${submodule//-/_}"='$sm_dst[$submodule]'
fi
}
typeset -f -t submodule