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 e745104433802308ef2d8e25c525c7625893d826
parent fb5c49728a1a0f5ba1b98f47730e99b9eb056015
Author: ccx <root@dorje.wpr.cz>
Date:   Wed, 10 Mar 2021 21:36:39 +0100

Prevent union directory linking to itself.

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

diff --git a/install b/install @@ -57,6 +57,9 @@ make_union() { mkdir -p ${sm_dst[.]} || exit $? local sm union_from f for sm union_from in "${(kv@)sm_dst}"; do + if [[ $sm == . ]]; then + continue + fi for f in $union_from/*; do ln -s ../${union_from:t}/${f:t} ${sm_dst[.]}/ || exit $? done