carbon-config

config submodule of carbon-core-system
git clone https://ccx.te2000.cz/git/carbon-config
Log | Files | Refs

commit 81178da6b459b8730a43c451245aa8d4d8456562
parent e40daf604c30f2fa7197d116427e1cc2dfccc790
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Mon, 25 Jul 2022 17:55:32 +0200

Fix relative path for symlinking in postinstall script

Diffstat:
Mpostinstall | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/postinstall b/postinstall @@ -47,7 +47,7 @@ ensure_symlink() { symlink_static_file() { [[ $1 == /* ]] || die "symlink_static_file: requires absolute path" local relative_base up rel1 rel2 - rel1=./static$1 + rel1=./conf/static$1 [[ -f $rel1 ]] || die111 "Cannot symlink: file does not exist: ${(qqq)rel1}" relative_base=$1:h until [[ ${${"$relative_base/$up"}:a} == / ]] ; do