From 44901943894cad8b210c086e88f42bff82b0211a Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Mon, 22 Jun 2026 17:26:29 +0100 Subject: replaces :: with `cut` for POSIX compatibility in upp* source files --- http/bin/prune_out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http/bin') diff --git a/http/bin/prune_out b/http/bin/prune_out index c95c2b4..f8bbcab 100755 --- a/http/bin/prune_out +++ b/http/bin/prune_out @@ -18,7 +18,7 @@ do for layout in $(find share/layouts -name "*.layout.upp${out_ext}"); do layout="$(basename "$layout")" - layout="${layout::${#layout}-15}" + layout="$(echo ${layout} | cut -c1-$(( ${#layout} - 15 )) )" rel_path="$(echo "${out}" | cut -c5-)" base_rel_path="${rel_path%%.${out_ext}}" src_path="src/${base_rel_path}.${layout}.upp${out_ext}" -- cgit v1.2.3